tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rmdir -p

In article <>,
Takahiro Kambe  <> wrote:
>In message <>
>       on Mon, 19 May 2008 11:41:09 -0400,
>       "D'Arcy J.M. Cain" <> wrote:
>> > > It seems to me that "rmdir
>> > > -p" should silently ignore directories that it cannot remove.
>> > 
>> > Utilities should not silently ignore domain errors of their
>> > arguments. rmdir(1) is quite clear on operating on empty
>> > directories only (or otherwise empty components, for -p).
>> But is it an error?  If the intention is to remove a directory and any
>> otherwise empty parents and that's what it does, why throw an error?
>For ignoring such a error, it reminds me that -f option of rm(1).

According to opengroup there used to be a -s flag for silent on USG, but
since there is no mention of the diagnostic messages in the man page, they
removed it.


Home | Main Index | Thread Index | Old Index