This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: bash shell expansion question
You need to quote the usage of $1 in the find command:
find . -name "$1" -depth -print
Same for the echo command.
You still need to quote wildcards on the command line when you invoke
the script, too. Either quote ' or " should work on the command line.
Only double quotes " will do the right thing inside the script.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com