Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> On Sun, Nov 15, 1998 at 11:23:09AM -0700, [EMAIL PROTECTED] wrote:
> > 
> > ls -1
> 
> May be I am missing something, but this does only affect the formatting of
> the output of ls.

-1 won't report . or .., but will return *nothing* of the
directory is empty.  

Now, with perl you can use opendir().  I don't know what you'd
use with shell if you needed an error code.

--
Phil Humpherys <[EMAIL PROTECTED]>   DriverSoft
Unix Systems Administrator                   Mobile: +1.801.725.3257 
WWW/PGPkeys: http://www.spire.com/~humphery

Reply via email to