|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#25495: closed (WTF? Chmod (and presumably other coreutils) corrupt their own error messages with "smart" quotes...) |
Date: | Sat, 21 Jan 2017 00:03:02 +0000 |
Your message dated Fri, 20 Jan 2017 16:01:57 -0800 with message-id <address@hidden> and subject line Re: bug#25495: WTF? Chmod (and presumably other coreutils) corrupt their own error messages with "smart" quotes... has caused the debbugs.gnu.org bug report #25495, regarding WTF? Chmod (and presumably other coreutils) corrupt their own error messages with "smart" quotes... to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 25495: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25495 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: WTF? Chmod (and presumably other coreutils) corrupt their own error messages with "smart" quotes... Date: Fri, 20 Jan 2017 22:44:17 +0100 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1 Hi, Recently, while browsing error mails of some cron jobs, I noticed that chmod puts "smart" quotes into its error messages. IMHO, such gimmicks should have no place in core utilities. At least this behavior should be optional via configuration or environment setting (preferably off by default). The faulty code lives in lib/quotearg.c in function gettext_quote Even defining a custom locale that just maps quotes to themselves doesn't work, because this function specifically tests for that case (translation same as msgid), and then "manually" garbles the quotes. Who came up with this? :-) Thanks for fixing this, Alain
--- End Message ---
--- Begin Message ---Subject: Re: bug#25495: WTF? Chmod (and presumably other coreutils) corrupt their own error messages with "smart" quotes... Date: Fri, 20 Jan 2017 16:01:57 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 Alain Knaff wrote:$ LC_ALL=C.UTF-8 chmod 0 ffff chmod: cannot access ‘ffff’: No such file or directoryIt looks like you're using an old version of coreutils. The current version outputs ASCII apostrophes there. This was a change committed on 2015-11-04 and released in coreutils 8.25; it makes it easier to cut and paste file names from diagnostics into shells.Since the reported behavior is already fixed I'm taking the liberty of closing the bug report.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |