/usr/bin/Findex is in ferret-vis 6.6.2-3.
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 | #! /bin/csh -f
#! *sh* 10/91
#! Findex
#! browse the Index of the Ferret Users Guide
# enter the Index at the top
if ($#argv == "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 " "
set pause = $<
more -d /usr/share/doc/ferret-vis/ferret_ug_index.txt
exit
endif
# too many arguments: explain the syntax
if ($#argv >= 2) 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
endif
# use grep for case-insensitive search
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 "$argv[1]" /usr/share/doc/fereet-vis/ferret_ug_index.txt
|