Patrick R. Wade wrote:
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.


$ for i in $( ls ~/.maildir/cur ) ; do echo $i ; done


I tried directing stderr to /dev/null and that worked, but I'm also using $i in another place.

I like the above.  It works and seems clean.

Thanks,
Rob
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to