[Bug 1740573] [NEW] rm command prints non-locale escaped error messages

Mike Berkley 1740573 at bugs.launchpad.net
Sat Dec 30 06:13:49 UTC 2017


Public bug reported:

If the file "tx" does not exist and the locale is en_US.UTF-8, "rm" will
print:

$ LANG=en_US.UTF-8 rm tx
rm: cannot remove â: No such file or directory
$ LANG=en_US rm tx
rm: cannot remove 'tx': No such file or directory
$ LANG=C rm tx
rm: cannot remove 'tx': No such file or directory

This is in coreutils 8.21-1ubuntu5.4 on Ubuntu 14.04.

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1740573

Title:
  rm command prints non-locale escaped error messages

Status in coreutils package in Ubuntu:
  New

Bug description:
  If the file "tx" does not exist and the locale is en_US.UTF-8, "rm"
  will print:

  $ LANG=en_US.UTF-8 rm tx
  rm: cannot remove â: No such file or directory
  $ LANG=en_US rm tx
  rm: cannot remove 'tx': No such file or directory
  $ LANG=C rm tx
  rm: cannot remove 'tx': No such file or directory

  This is in coreutils 8.21-1ubuntu5.4 on Ubuntu 14.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1740573/+subscriptions



More information about the foundations-bugs mailing list