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

Bug#988221: xterm: uses unescaped backslashes in manpage example



On Sat, May 08, 2021 at 04:21:32AM +0200, Thorsten Glaser wrote:
> Package: xterm
> Version: 366-1
> Severity: minor
> Tags: upstream
> X-Debbugs-Cc: tg@mirbsd.de
> 
> The manual page includes example commands such as…
> 
>            printf '\033]2;Hello world!\033\'
> 
> … which use unescaped backslashes at the end of the command.
> 
> In general this works…
> 
> $ printf '\' | hd
> 00000000  5c                                                |\|
> 
> … but when copying this specific example into a larger string,

The example is correct, however.  xterm's manpage isn't a tutorial
on shell programming.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: PGP signature


Reply to: