|
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).
[Prev in Thread] | Current Thread | [Next in Thread] |