bug-coreutils
[Top][All Lists]
Advanced

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

Re: rm --p


From: Eric Blake
Subject: Re: rm --p
Date: Sat, 03 Dec 2005 14:36:08 -0700
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 12/3/2005 2:19 PM:
> Thanks for the prod.
> I don't know of a mechanism in getopt_long to do that.
> But it is worth changing.
> I'll probably just add a leading `-' to the
> undocumented (for-testing-only) option name.

Indeed, rm ---presume-input-tty is quite slick for letting rm --p always
stand for rm --preserve-root.  You should also change tail --p (--pid is
desired, not --presume-input-pipe), and for symmetry, fix head --p (not
ambiguous, but again it should be ---presume-input-pipe for tests only).

- --
Life is short - so eat dessert first!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDkg/I84KuGfSFAYARAjwAAJ44qtViJuM/EX0W3n+LGKk7fx+rAACggLEL
P4EEZ/GRtvWz3HIvDrTZeDg=
=UwHc
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]