[root@mail /tmp]# rm --version
rm (GNU fileutils) 4.0
[root@mail /tmp]# ls -al foo
ls: foo: No such file or directory
[root@mail /tmp]# touch foo
[root@mail /tmp]# ls -al foo
-rw-r--r--   1 root     root            0 Dec 27 14:44 foo
[root@mail /tmp]# rm -i foo
rm: remove `foo'? s
[root@mail /tmp]# ls -al foo
ls: foo: No such file or directory

Should this be construed as a bug, or is it a feature (perhaps 's' for
si) and forgotten in the documentation?

The best I can trace it to is that yesno() uses a regexp, which checks for
Yy or Nn.  But I can't figure out where 's' would cause it to remove the
file, whereas 'm' wouldn't.

-Pete K
-- 
Pete Krawczyk
  petek at bsod dot net or pkrawczy at uiuc dot edu
  http://www.uiuc.edu/ph/www/pkrawczy/
  Finger pkrawczy at uiuc dot edu for PGP public key


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to