Re: remove newlines from a file

2009-09-01 Thread Jonathan McKeown
[Agghh. To list this time] On Tuesday 01 September 2009 20:03:19 Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all t

Re: remove newlines from a file

2009-09-01 Thread Steve Bertrand
Warren Block wrote: > On Tue, 1 Sep 2009, Steve Bertrand wrote: >> George Davidovich wrote: >>> On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. >>> >>> You're probably thinking of "Useful One-Line

Re: remove newlines from a file

2009-09-01 Thread Warren Block
On Tue, 1 Sep 2009, Steve Bertrand wrote: George Davidovich wrote: On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. You're probably thinking of "Useful One-Line Scripts for Sed": http://sed.sourceforge

Re: remove newlines from a file

2009-09-01 Thread Steve Bertrand
George Davidovich wrote: > On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: >> I found a sed tutorial once that did this, but I can't seem to find it >> again. > > You're probably thinking of "Useful One-Line Scripts for Sed": > > http://sed.sourceforge.net/sed1line.txt > > A good

Re: remove newlines from a file

2009-09-01 Thread George Davidovich
On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. You're probably thinking of "Useful One-Line Scripts for Sed": http://sed.sourceforge.net/sed1line.txt A good follow-up: http://www.osnews.com/story/

Re: remove newlines from a file

2009-09-01 Thread Jerry McAllister
On Tue, Sep 01, 2009 at 06:03:19PM +, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a > sing

Re: remove newlines from a file

2009-09-01 Thread Paul Schmehl
--On Tuesday, September 01, 2009 13:55:37 -0500 Mak Kolybabi wrote: On 2009-09-01 18:03, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I w

Re: remove newlines from a file

2009-09-01 Thread Bertram Scharpf
Hi, Am Dienstag, 01. Sep 2009, 18:03:19 + schrieb Paul Schmehl: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a

Re: remove newlines from a file

2009-09-01 Thread Rodrigo Gonzalez
On 09/01/2009 03:03 PM, Paul Schmehl wrote: I found a sed tutorial once that did this, but I can't seem to find it again. I have a file with multiple lines, each of which contains a single ip followed by a /32 and a comma. I want to combine all those lines into a single line by removing all the n

Re: remove newlines from a file

2009-09-01 Thread b. f.
Paul Schmehl wrote: >I found a sed tutorial once that did this, but I can't seem to find it again. >I have a file with multiple lines, each of which contains a single ip followed >by a /32 and a comma. I want to combine all those lines into a single line by >removing all the newline characters at

Re: remove newlines from a file

2009-09-01 Thread Mak Kolybabi
On 2009-09-01 18:03, Paul Schmehl wrote: > I found a sed tutorial once that did this, but I can't seem to find it > again. I have a file with multiple lines, each of which contains a single > ip followed by a /32 and a comma. I want to combine all those lines into a > single line by removing all t