Glen Turner wrote:
In a real-world script you might also say
"${dir}"
rather than
$dir
to allow nasty filenames.
Does "${dir}" buy you any more safety than "$dir" ??
I thought not.
Also, a side question: how come 'events' and exclamation
marks cause havoc in bash, in seemingly innocent situations:
$ echo "This is fun!"
-bash: !": event not found
cheers
rickw
--
_________________________________
Rick Welykochy || Praxis Services
People who enjoy eating sausage and obey the law should not watch either being
made.
-- Otto von Bismarck
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html