/bin/rm: interactive (-i) problem with 'y'

Andrea Ganduglia info at openclose.it
Tue Mar 18 19:23:32 UTC 2008

Package: coreutils
Version: 5.97-5.3ubuntu3
Severity: normal
File: /bin/rm

I think that /bin/rm has a problem about interactive mode. Infact prompt
considers only the FIRST letter of the answer and not entire answer.
Please, consider that example:

Z:~/qq$ date > foo
Z:~/qq$ ls -l
total 4
-rw-r--r-- 1 user user 29 2008-03-18 20:18 foo
Z:~/qq$ rm -i foo 
rm: remove regular file `foo'? yesitisatypingerror
removed `foo'
Z:~/qq$ ls -l
total 0


-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500,
'gutsy') Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages coreutils depends on:
ii  libacl1                  2.2.42-1ubuntu1 Access control list shared
library ii  libc6                    2.6.1-1ubuntu10 GNU C Library:
Shared libraries ii  libselinux1              2.0.15-2ubuntu1 SELinux
shared libraries

coreutils recommends no packages.

-- no debconf information

More information about the ubuntu-users mailing list