/usr/bin/Findex is in ferret-vis 6.9.3-4build1.
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 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #! /bin/sh
#! *sh* 10/91
#! Findex
#! browse the Index of the Ferret Users Guide
. /usr/share/ferret-vis/bin/ferret_paths
# enter the Index at the top
if [ $# -eq 0 ]; then
echo "Note: Index page numbers refer to the hard copy FERRET User's Guide"
echo " The on-line FERRET User's Guide is not page numbered"
echo -n "Hit <CR> to continue ..."
echo " "
read pause
more -d $FER_DIR/doc/ferret_ug_index.txt
exit
fi
# too many arguments: explain the syntax
if [ $# -gt 1 ]; then
echo " "
echo "*** Syntax error in command entered ***"
echo " "
echo " Usage: Findex or Findex string"
echo " "
echo " Note: multi-word strings need to be enclosed in quotations"
echo " "
exit
fi
# use grep for case-insensitive search
echo "****************************************************************************"
echo "*** Index page numbers refer to the hard copy or PDF FERRET User's Guide ***"
echo "*** The on-line document is not page numbered ***"
echo "****************************************************************************"
echo " "
grep -i "$1" $FER_DIR/doc/ferret_ug_index.txt
|