[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed 0a
From: |
Ralf Wildenhues |
Subject: |
Re: sed 0a |
Date: |
Tue, 1 Jun 2010 18:55:03 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hello,
* address@hidden wrote on Tue, Jun 01, 2010 at 04:20:32PM CEST:
> PB> date|sed 1ihi
> Please add this as an example on the man page,
> as I thought there was no way to use i an a without a difficult backslash.
FWIW, if you want to be portable, you need both backslash-newline after
the 'i', as well as a newline after the 'hi'. The above is GNU
sed-specific.
Cheers,
Ralf