Re: Re: Maildir format

"Jonadab the Unsightly One" <[email protected]> 26 May 2003 07:37:59 -0400
Newsgroups gmane.mail.ifile.general
Message-ID <[email protected]>
Jack Bertram <[email protected]> writes:

> > # Perhaps it should be:
> > # for mbox in $(ls -a $MAILDIR/)
> 
> Yes
> 
> > # However that has extra stuff as well in it (. and ..)
> 
> You need to modify the if statement...

If you want the results of ls -a without . and .. you may be able to
just use ls -A

I don't know how portable that is, but hey, if it was supposed to be
portable it wouldn't use ls in the first place but would be written in
pure Perl ;-)