This file is indexed.

/usr/share/sagemath/bin/sage-grep is in sagemath-common 7.4-9.

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
#!/usr/bin/env bash

cd "$SAGE_SRC"

find sage -print | GREP_OPTIONS= egrep '.py([xdi])?$' | xargs grep "$@"