This file is indexed.

/usr/share/sagemath/bin/sage-eval is in sagemath-common 8.1-7ubuntu1.

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

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#!/usr/bin/env python

import sys
from sage.all import *
from sage.calculus.predefined import x
from sage.repl.preparse import preparse

if len(sys.argv) > 1:
    s = preparse(" ".join(sys.argv[1:]))
    eval(compile(s,'<cmdline>','exec'))