Edward Reingold
2015-05-01 18:52:24 UTC
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).
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).