Originally posted by: SystemAdmin
I am having problems with the AIX 5.3 find command:
find $HOME -name 'myfile.ini' -o name '*.txt' <-------I want the search to ignore case. How do I do this?
-->Eventually the below ported to AIX is what I am going for:
for file in `find -iname "
myfile.ini" -o -iname ".txt"`
do
typeset -l strMyVar=""
typeset -l strFileName=$(basename "$file")
if ;
then
strMyVar=$(cat $file | grep -i "authority=")
print $strMyVar >> ./mylogfile.txt
fi
done
I sooo need the help on this....my confidence level on this is sinking fast.
mapleman
#AIX-Forum