emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48248: closed (tr docs: mention what to expect now vs. future)


From: GNU bug Tracking System
Subject: bug#48248: closed (tr docs: mention what to expect now vs. future)
Date: Mon, 14 Feb 2022 20:20:02 +0000

Your message dated Mon, 14 Feb 2022 12:18:46 -0800
with message-id <2aa24ed7-61ee-b4e2-2fa4-52a530884db4@cs.ucla.edu>
and subject line Re: bug#48248: tr docs: mention what to expect now vs. future
has caused the debbugs.gnu.org bug report #48248,
regarding tr docs: mention what to expect now vs. future
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48248: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48248
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: tr docs: mention what to expect now vs. future Date: Thu, 06 May 2021 07:00:04 +0800
(info "(coreutils) tr invocation") says
   Currently ‘tr’ fully supports only single-byte characters.
   Eventually it will support multibyte characters; when it does, the ‘-C’

And the man page has no warning at all. #BUG. Please add one.

BTW,

$ echo 哇|tr 哇 123
123

It works fine! (People will think.)

Therefore be sure to mention just when it will start failing, with real 
examples,

$ echo 哇|tr 哇 1
111
$ echo 哇|tr 哇 1234
123
$ echo 哇哇|tr 哇 1234
123123
$ echo 哇哇姑五湖|tr 哇 1234
1231231__五湖

$ echo "22°56'52.2\"N 121°14'09.3\"E" | tr ° d
22dd56'52.2"N 121dd14'09.3"E

Also on the INFO page, give examples of, for the same input,
what to expect now, and what to expect in the future.



--- End Message ---
--- Begin Message --- Subject: Re: bug#48248: tr docs: mention what to expect now vs. future Date: Mon, 14 Feb 2022 12:18:46 -0800 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Thanks for the bug report. This stuff about "the future" has been there for years so it's time to remove any predictions. I installed the attached revamp of the tr documentation to try to address the problems you mentioned, plus some others I noticed while in the neighborhood.

Attachment: 0001-tr-improve-multibyte-etc.-doc.patch
Description: Text Data

Attachment: 0002-tr-mention-multibyte-problem-in-man-page.patch
Description: Text Data


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]