Re: some kind of binary sed(1) command

2012-02-02 Thread Matthias Apitz
of binary sed(1) command 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

Re: some kind of binary sed(1) command

2012-02-02 Thread Robert Bonomi
From: Matthias Apitz g...@unixarea.de 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

Re: some kind of binary sed(1) command

2012-02-02 Thread Nikos Vassiliadis
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'

some kind of binary sed(1) command

2012-02-01 Thread Matthias Apitz
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

Re: some kind of binary sed(1) command

2012-02-01 Thread Robert Bonomi
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 g...@unixarea.de To: freebsd-questions@freebsd.org Subject: some kind of binary sed(1) command Hello, I have a normal ASCII file wich has in some places two lines