bug-coreutils
[Top][All Lists]
Advanced

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

rm -f: don't confuse turning off prompting and error output


From: Dan Jacobson
Subject: rm -f: don't confuse turning off prompting and error output
Date: Thu, 16 Oct 2003 05:37:19 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

$ rm -r /tmp/ji/
rm: remove write-protected regular file `/tmp/ji/a'? ^C
$ rm -fr /tmp/jidanni.org/
$ rm -fr /tmp/jidanni.org/
$ rm -fr /tmp/jidanni.org/

well, did it remove it or not?*

`-f'
`--force'
     Ignore nonexistent files and never prompt the user.  Ignore any
     previous `--interactive' (`-i') option.


well, OK, but prompting the user and emitting error output are
different things.

therefore, please say 'No such file or directory', or, if there is
some kind of standard that will be broken by that, say on the man page
that error output is also turned off by -f and there is no way to
separate turning off prompting and turning off error messages for some
reason.

*Answer: indeed, my first -f removed it.




reply via email to

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