[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: rmdir -p
In message <20080519114109.8bb171ce.darcy%NetBSD.org@localhost>
on Mon, 19 May 2008 11:41:09 -0400,
"D'Arcy J.M. Cain" <darcy%NetBSD.org@localhost> 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).
Takahiro Kambe <taca%back-street.net@localhost>
Main Index |
Thread Index |