This file is indexed.

/usr/share/sagemath/bin/sage-grepdoc 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_DOC"

find html -print | GREP_OPTIONS= egrep '.html$' | xargs grep "$@"