[Top][All Lists]

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

[Groff] ASCII dash in UTF-8 locale

From: Carsten Kunze
Subject: [Groff] ASCII dash in UTF-8 locale
Date: Fri, 23 Jan 2015 15:59:41 +0100 (CET)


is there a way (except \N'45') to output an ASCII dash (0x2d) with nroff in an 
UTF-8 locale (i.e. without -T or with -Tutf8)?

I want to copy command lines from nroff output into a xterm, but the shell 
complains about the '-' which is not 0x2d.

E.g. mandoc(1) does output 0x2d for '\-' and even '-' which IMHO is better for 
manpages (to allow copiing text into the shell).


reply via email to

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