Re: sed bug/discrepancy
Edward Reingold <[email protected]> Fri, 1 May 2015 13:57:44 -0500
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <CAO_04X76GFPq0S+ERZx1f-D2yvFvXYwqzMz6tfOhS0WQoAJ7Ag@mail.gmail.com> |
Never mind... the problem is my input differs in the two systems. Sorry. On Fri, May 1, 2015 at 1:52 PM, Edward Reingold <[email protected]> wrote: > 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). > >