bug-gnu-utils
[Top][All Lists]
Advanced

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

sed bug/discrepancy


From: Edward Reingold
Subject: sed bug/discrepancy
Date: Fri, 1 May 2015 13:52:24 -0500

The following sed command works perfectly in Solaris, but causes duplicated
lines when using the GNU version:

sed -n -e 's/^\\inputfun[{]\([?a-zA-Z0-9-]*\)[}].*$/\1/p' book.tex >! c

(it produces a list of all function input lines in a LaTeX file).


reply via email to

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