OT: Shell Script
Glenn Steen
glenn.steen at gmail.com
Wed Feb 8 11:08:19 GMT 2006
On 07/02/06, Tim Sailer <sailer at bnl.gov> wrote:
(snip)
> for file in `echo *`
(snip)
Tim, just curious... Why do you go the "long route around" backticks
and an echo, just to use the same shell "wildcarding" mechanism as a
single "*" would give you?
That cannot be necessary... Just use an * and you'll be fine... As in
...
for file in *
do
...
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner
mailing list