[Discuss] cygwin problem
pw
p.willis at telus.net
Wed Apr 16 11:09:11 PDT 2008
Hello,
I have been trying to get a small bash script to work in
cygwin but am having some problems.
If I use a find command in a loop on the command line
it works fine:
ie:
/> for FIL in `find -iname '*.doc'`; do echo $FIL; done
(comes up with loads of files)
If I put the same loop in a bash script:
ie:
for FIL in `find -iname '*.doc'`; do
echo $FIL
done
and then run 'sh script.sh' to test, find doesnt come up with any
files...(!?)
Any ideas anyone?
Peter
More information about the Discuss
mailing list