-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to [EMAIL PROTECTED] on 4/10/2008 6:28 AM: | rm -rdf */*/src
rm -d is deprecated. It does nothing, and you should not need to use it. ~ Newer coreutils don't even document it; the NEWS for 6.0 states: ~ rm's --directory (-d) option is scheduled for removal in 2006. This ~ option has been silently ignored since coreutils 5.0. On systems ~ that support unlinking of directories, you can use the "unlink" ~ command to unlink a directory. (Hmm, now that it's 2008, maybe it's time to make 'rm -d' issue a failure, rather than being silently ignored.) | does not remove directories like this: | a/b/src | a/c/src | b/d/src It works just fine for me: $ mkdir -p a/b/src a/c/src b/d/src $ echo ?/?/src a/b/src a/c/src b/d/src $ rm -rf ?/?/src $ echo ?/?/src ?/?/src | | but on unix, win32/cygwin rm works OK That sentence didn't make sense. What version of coreutils are you complaining about, and on what platform? Maybe it is time for you to do an upgrade; the latest stable version is 6.10, with 6.11 due out soon. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkf+EMAACgkQ84KuGfSFAYCTNgCg0dgNf81DcIHMThIzgkZWEhPo 06kAn032Bj9PybzzdRdK5wS1Fnw8TIXC =vhtJ -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
