On 2/2/2012 8:22 AM, Matthias Apitz wrote:
Hello,
I have a normal ASCII file wich has in some places two lines of '*',
separated by an empty line, i.e.
\n
*\n
\n
*\n
\n
and I want to substitute the \n between the star lines by \f; the
'binary' s
> From: Matthias Apitz
>
> El dia Thursday, February 02, 2012 a las 01:51:56AM -0600, Robert Bonomi
> escribio:
>
> Thanks, but the attached script (based on your content and saved to a
> script file) just gives:
*sigh* the code worked wih gnu sed.
BSD sed is a whole lot more finicky with reg
El día Thursday, February 02, 2012 a las 01:51:56AM -0600, Robert Bonomi
escribió:
> > From owner-freebsd-questi...@freebsd.org Thu Feb 2 00:27:33 2012
> > Date: Thu, 2 Feb 2012 07:22:36 +0100
> > From: Matthias Apitz
> > To: freebsd-questions@freebsd.org
> > Su
> From owner-freebsd-questi...@freebsd.org Thu Feb 2 00:27:33 2012
> Date: Thu, 2 Feb 2012 07:22:36 +0100
> From: Matthias Apitz
> To: freebsd-questions@freebsd.org
> Subject: some kind of binary sed(1) command
>
>
> Hello,
>
> I have a normal ASCII file wich h
Hello,
I have a normal ASCII file wich has in some places two lines of '*',
separated by an empty line, i.e.
\n
*\n
\n
*\n
\n
and I want to substitute the \n between the star lines by \f; the
'binary' sed command would just be
s/*\n\