From: Daniel Stenberg Date: Fri, 23 Feb 2024 11:52:59 +0000 (+0100) Subject: cd2nroff: gen: make `\>` in input to render as plain '>' in output X-Git-Tag: curl-8_7_0~144 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d096809394013df674cb8b98aed6b17d47d949ac;p=thirdparty%2Fcurl.git cd2nroff: gen: make `\>` in input to render as plain '>' in output The same (copy and pasted) fix/mistake as in gen.pl --- diff --git a/scripts/cd2nroff b/scripts/cd2nroff index 02460cc9da..96d2a367d6 100755 --- a/scripts/cd2nroff +++ b/scripts/cd2nroff @@ -255,7 +255,7 @@ sub single { print STDERR "$f:$line:1:WARN: un-escaped < or > used\n"; } # convert backslash-'<' or '> to just the second character - $d =~ s/\\([<<])/$1/g; + $d =~ s/\\([<>])/$1/g; # mentions of curl symbols with man pages use italics by default $d =~ s/((lib|)curl([^ ]*\(3\)))/\\fI$1\\fP/gi;