bug-groff
[Top][All Lists]
Advanced

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

[bug #55155] .tr is overzealous in nroff output


From: Dave
Subject: [bug #55155] .tr is overzealous in nroff output
Date: Tue, 11 May 2021 00:49:19 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #4, bug #55155 (project groff):

The example command in comment #2 produces the given output only if nroff
detects that the user has an ASCII or Latin-1 environment.  To generalize the
example to work in any non-EBCDIC terminal, give nroff an explicit -T option:


$ printf         'A \[if] B\n' | nroff -Tascii | head -1 
A <infinity> B
$ printf '.tr n-\nA \[if] B\n' | nroff -Tascii | head -1 
A <i-fi-ity> B


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55155>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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