view bin/ff @ 120:d0b544e53dda

for use in processing CC index files
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Mon, 28 Jun 2021 14:01:41 +0000
parents ecdbaa11b88e
children
line wrap: on
line source

#!/bin/sh
# find any match from here
if [ "$1" = "-y" ]
then
 shift
 yy=
else
 yy="-not ( -path ./Yesterday -prune )"
fi
ff=$1
shift
find . $yy \( \( -iname \*$ff\* \) -o \( -iname .\*$ff\* \) \) "$@" -print