bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed 0a


From: Paolo Bonzini
Subject: Re: sed 0a
Date: Tue, 1 Jun 2010 16:14:37 +0200

On Tue, Jun 1, 2010 at 15:45,  <address@hidden> wrote:
> $ date|sed 0a\\hi
> sed: -e expression #1, char 2: invalid usage of line address 0
> Huh? It is valid in ed(1).

Address 0 is never matched.  It is only valid in very specific cases
mentioned in the manual.

You want

date|sed 1ihi

instead.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]