[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed bug/discrepancy
From: |
Edward Reingold |
Subject: |
Re: sed bug/discrepancy |
Date: |
Fri, 1 May 2015 13:57:44 -0500 |
Never mind... the problem is my input differs in the two systems. Sorry.
On Fri, May 1, 2015 at 1:52 PM, Edward Reingold <address@hidden> 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).
>
>