bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] 9g)sub() bug?


From: francky . leyn
Subject: [bug-gawk] 9g)sub() bug?
Date: Tue, 16 Aug 2011 14:46:09 +0200 (CEST)

Hello,

consider the following gawk code:

gawk 'END { line="@defn bibtex++" ; sub("bibtex++", "\\textup{\\texttt{bibtex++}}", line) ; print line}' </dev/null

This gives:

@defn \textup{\texttt{bibtex++}}++

Where are those last 2 trailing ++'s coming from?

Is this a bug?

Best regards,

Francky


reply via email to

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