Carl Lowenstein wrote:
Since when has one been able to put a "-" option after the file name
in a command line?
[EMAIL PROTECTED] tmp]$ mkdir a
[EMAIL PROTECTED] tmp]$ touch a/b
[EMAIL PROTECTED] tmp]$ rm a
rm: cannot remove `a': Is a directory
[EMAIL PROTECTED] tmp]$ rm a -rf
[EMAIL PROTECTED] tmp]$ ls a
ls: a: No such file or directory
[EMAIL PROTECTED] tmp]$ rm --version
rm (coreutils) 5.2.1
Observed in somebody else's shell script. Rubs me very much the wrong way.
Just shutdown my Linux box, but it seems the last time I looked at the man page for rm it
was rm [options] file_name.
Rubs me the wrong way too.
PGA
--
Paul G. Allen
Owner, Sr. Engineer, BSIT/SE
Random Logic Consulting Services
www.randomlogic.com
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list