|
From: Doug R. <df...@nl...> - 2004-01-05 13:44:01
|
On Mon, 2004-01-05 at 12:45, Nicholas Nethercote wrote:
> On Mon, 5 Jan 2004, Doug Rabson wrote:
>
> > I think the key problem was the use of '\1' but I didn't realise that
> > until I started messing around with -E (which selects an alternative
> > regexp expression syntax). It should be possible to come up with
> > something that works on both versions of sed.
>
> How about this?
>
> sed "s/\(==\|--\|\+\+\|\*\*\)[0-9]\{1,5\}\(==\|--\|\+\+\|\*\*\) //" |
I'll try that this evening on FreeBSD.
|