/usr/bin/Fgrids 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 | #! /bin/sh
# Fgrids grid_file_template
# determine if FERRET grid files matching template are currently on-line
# by searching the paths in FER_GRIDS
. /usr/share/ferret-vis/bin/ferret_paths
if [ $# -ne 1 ]; then
echo "usage: Fgrids grid_file_template"
exit
fi
found=0
for subdir in ${FER_GRIDS} ; do
filelist=`cd "${subdir}" ; find * -maxdepth 0 -type f -name \*"$1"\* -print`
if [ -n "${filelist}" ]; then
echo "* * * * * * * * in ${subdir}"
( cd ${subdir} ; /bin/ls -l ${filelist} )
echo " "
found=1
fi
done
if [ ${found} -eq 0 ]; then
echo "No files matching $1 were found"
fi
|