On Thu, Dec 08, 2005 at 12:46:16PM +1100, James Gray wrote: > Hi All, > > I've been fiddling with a script and can't quite get it to work. The problem > is premature wild-card expansion. > > FILES="*.upd dat*.zip *.tar sdat*.exe" > [ ... ] > for PATTERN in $FILES
Quotes around $FILES (i.e. "$FILES") should work, but you said you tried that? Matt -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html