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

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

Re: sed: delete a line and there goes the neighborhood at least for i an


From: Paul Jarc
Subject: Re: sed: delete a line and there goes the neighborhood at least for i and a
Date: Sat, 09 Mar 2002 20:36:06 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/20.7 (i386-redhat-linux-gnu)

Dan Jacobson <address@hidden> wrote:
> script contents ----:
> sed '
> 1d
> 1a\
> hello
> '<<!

"2i" works in place of "1a".  You could also use "1c" in place of
"1d;1a".


paul



reply via email to

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