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.

I need something that returns an error code if the directory is empty but
does return 0 if it is non-empty.

> Marcus Brinkmann <[EMAIL PROTECTED]> writes:
> > can someone give me a hint how I can efficient test if a certain directory
> > is empty in the postrm (shell script)?

Thanks,
Marcus

-- 
"Rhubarb is no Egyptian god."        Debian GNU/Linux        finger brinkmd@ 
Marcus Brinkmann                   http://www.debian.org    master.debian.org
[EMAIL PROTECTED]                        for public  PGP Key
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/       PGP Key ID 36E7CD09

Reply via email to