This file is indexed.

/usr/share/doc/ruby1.9.1-examples/examples/fact.rb is in ruby1.9.1-examples 1.9.3.0-1ubuntu2.10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
9
def fact(n)
  return 1 if n == 0
  f = 1
  n.downto(1) do |i|
    f *= i
  end
  return f
end
print fact(ARGV[0].to_i), "\n"