Rob Hudson wrote:
If I run this:
# for i in ~/.maildir/cur/* ; do echo $i ; done
~/.maildir/cur/1142021402.V810I1560adeM187221:2,S
I get a list of the files in that directory.
If there are no files in the directory, I get my glob back...
# for i in ~/.maildir/new/* ; do echo $i ; done
~/timesheet/.maildir/new/*
Is there a way to *not* get this glob back? If the dir is empty, the
command I have is getting this glob and is throwing an error.
If I can't change that behavior I'll have to change my script to
handle and ignore the glob. But I'd prefer to not get the glob if
possible.
Thanks,
Rob
Rob Hudson
Will redirection of stderr to /dev/null do it for you?
Regards
Fred James
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug