<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: rmnl &#8212; remove new line characters with tr, awk, perl, sed or c/c++</title>
	<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/</link>
	<description>Diary of my Linux journeys. Everything Linux by Kamil Wójcicki</description>
	<pubDate>Thu, 09 Feb 2012 22:41:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Greg Benison</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1562</link>
		<author>Greg Benison</author>
		<pubDate>Fri, 28 Oct 2011 20:43:03 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1562</guid>
		<description>Sometimes you don't want to remove *all* of the newlines - for example to keep paragraphs intact.  Here's a way to do that:

http://gcbenison.wordpress.com/2011/07/03/a-program-to-intelligently-remove-carriage-returns-so-you-can-paste-text-without-having-it-look-awful/</description>
		<content:encoded><![CDATA[<p>Sometimes you don&#039;t want to remove *all* of the newlines - for example to keep paragraphs intact.  Here&#039;s a way to do that:</p>
<p><a href="http://gcbenison.wordpress.com/2011/07/03/a-program-to-intelligently-remove-carriage-returns-so-you-can-paste-text-without-having-it-look-awful/" rel="nofollow">http://gcbenison.wordpress.com/2011/07/03/a-program-to-intelligently-remove-carriage-returns-so-you-can-paste-text-without-having-it-look-awful/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Severtson</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1501</link>
		<author>Scott Severtson</author>
		<pubDate>Thu, 02 Jun 2011 01:54:16 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1501</guid>
		<description>Paste, a specialized line-joining utility available on most Unixes:
# Without spaces
paste -sd '' days.txt
# With spaces
paste -sd ' ' days.txt

An AWK alternative syntax that I prefer:
# Without spaces
awk 'BEGIN{ORS=""} {print}' days.txt
# With spaces
awk 'BEGIN{ORS=" "} {print}' days.txt
# Skip blank lines, with spaces
awk 'BEGIN{ORS=" "} $0 != "" {print}' days.txt</description>
		<content:encoded><![CDATA[<p>Paste, a specialized line-joining utility available on most Unixes:<br />
# Without spaces<br />
paste -sd &#034; days.txt<br />
# With spaces<br />
paste -sd &#039; &#039; days.txt</p>
<p>An AWK alternative syntax that I prefer:<br />
# Without spaces<br />
awk &#039;BEGIN{ORS=&#034;"} {print}&#039; days.txt<br />
# With spaces<br />
awk &#039;BEGIN{ORS=&#034; &#034;} {print}&#039; days.txt<br />
# Skip blank lines, with spaces<br />
awk &#039;BEGIN{ORS=&#034; &#034;} $0 != &#034;&#034; {print}&#039; days.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: antoniomu</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1475</link>
		<author>antoniomu</author>
		<pubDate>Mon, 07 Mar 2011 04:05:01 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1475</guid>
		<description>its a very usefull article</description>
		<content:encoded><![CDATA[<p>its a very usefull article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nilperlinux</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1466</link>
		<author>nilperlinux</author>
		<pubDate>Mon, 31 Jan 2011 09:58:56 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1466</guid>
		<description>thanks for the idea</description>
		<content:encoded><![CDATA[<p>thanks for the idea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joewalp</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1462</link>
		<author>joewalp</author>
		<pubDate>Wed, 26 Jan 2011 00:50:33 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1462</guid>
		<description>I found the awk solution to be useful because it works when tailing a logfile, as in:
tail -f -n 100000 misc.log &#124; sed --unbuffered -n -e 's/.* APPEND finalize \(.\)/\1/p' &#124; awk '{ printf "%s", $0 }'</description>
		<content:encoded><![CDATA[<p>I found the awk solution to be useful because it works when tailing a logfile, as in:<br />
tail -f -n 100000 misc.log | sed &#8211;unbuffered -n -e &#039;s/.* APPEND finalize \(.\)/\1/p&#039; | awk &#039;{ printf &#034;%s&#034;, $0 }&#039;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aa</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1455</link>
		<author>aa</author>
		<pubDate>Thu, 16 Dec 2010 21:46:41 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1455</guid>
		<description>Watch out for cr+lf, as sometimes created with windows programs. http://en.wikipedia.org/wiki/Newline</description>
		<content:encoded><![CDATA[<p>Watch out for cr+lf, as sometimes created with windows programs. <a href="http://en.wikipedia.org/wiki/Newline" rel="nofollow">http://en.wikipedia.org/wiki/Newline</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: malef</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1431</link>
		<author>malef</author>
		<pubDate>Thu, 07 Oct 2010 20:28:32 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1431</guid>
		<description>thanks a lot! I have been looking for these sed solutions.</description>
		<content:encoded><![CDATA[<p>thanks a lot! I have been looking for these sed solutions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sayid Munawar</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1430</link>
		<author>Sayid Munawar</author>
		<pubDate>Thu, 07 Oct 2010 14:42:59 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1430</guid>
		<description>thanks !

saved my day</description>
		<content:encoded><![CDATA[<p>thanks !</p>
<p>saved my day</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aidas Kasparas</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1429</link>
		<author>Aidas Kasparas</author>
		<pubDate>Thu, 07 Oct 2010 10:57:04 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1429</guid>
		<description>If you need to change newlines to spaces (or any other symbol) in perl there is an option

perl -pl40 -e ''</description>
		<content:encoded><![CDATA[<p>If you need to change newlines to spaces (or any other symbol) in perl there is an option</p>
<p>perl -pl40 -e &#034;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: elmimmo</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1426</link>
		<author>elmimmo</author>
		<pubDate>Sun, 12 Sep 2010 09:15:22 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1426</guid>
		<description>All this commands output to stdin, but how do I overwrite the original file with the new ouput?</description>
		<content:encoded><![CDATA[<p>All this commands output to stdin, but how do I overwrite the original file with the new ouput?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reemplaça múltiples linies de text amb el sed! &#124; GNULinux.cat</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1183</link>
		<author>Reemplaça múltiples linies de text amb el sed! &#124; GNULinux.cat</author>
		<pubDate>Tue, 10 Aug 2010 05:08:52 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1183</guid>
		<description>[...] a aquesta web vaig trobar la solució. Ja que el sed no reconeix la sintaxi obia que seria se [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] a aquesta web vaig trobar la solució. Ja que el sed no reconeix la sintaxi obia que seria se [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: I need a shell script to delete files wich location should be read from a log file</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1134</link>
		<author>I need a shell script to delete files wich location should be read from a log file</author>
		<pubDate>Mon, 28 Jun 2010 00:48:39 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1134</guid>
		<description>[...] list-tools     Hi, I found this blog informative...  http://linux.dsplabs.com.au/rmnl-rem...-sam-ssam-p65/   [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] list-tools     Hi, I found this blog informative&#8230;  <a href="http://linux.dsplabs.com.au/rmnl-rem...-sam-ssam-p65/" rel="nofollow">http://linux.dsplabs.com.au/rmnl-rem&#8230;-sam-ssam-p65/</a>   [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: [SOLVED] simple sed question</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1121</link>
		<author>[SOLVED] simple sed question</author>
		<pubDate>Mon, 17 May 2010 13:03:50 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1121</guid>
		<description>[...] http://linux.dsplabs.com.au/rmnl-rem...-sam-ssam-p65/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://linux.dsplabs.com.au/rmnl-rem...-sam-ssam-p65/" rel="nofollow">http://linux.dsplabs.com.au/rmnl-rem&#8230;-sam-ssam-p65/</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amanda</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1118</link>
		<author>Amanda</author>
		<pubDate>Wed, 12 May 2010 17:33:19 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-1118</guid>
		<description>Wow! So many options to chose from, great reference!</description>
		<content:encoded><![CDATA[<p>Wow! So many options to chose from, great reference!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lietuva</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-758</link>
		<author>Lietuva</author>
		<pubDate>Tue, 30 Mar 2010 12:51:15 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-758</guid>
		<description>Thank you very much for this article.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omkar</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-729</link>
		<author>Omkar</author>
		<pubDate>Mon, 22 Mar 2010 02:35:09 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-729</guid>
		<description>Awesome man!         And this is how powerful linux is.    Something like this in windows is almost impossible!</description>
		<content:encoded><![CDATA[<p>Awesome man!         And this is how powerful linux is.    Something like this in windows is almost impossible!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: i bashed my ls &#171; RixBuntu</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-675</link>
		<author>i bashed my ls &#171; RixBuntu</author>
		<pubDate>Thu, 22 Oct 2009 20:20:10 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-675</guid>
		<description>[...] thanks to Linux Blog for the tutorial on removing new line characters with a variety of tools (tr, awk, perl, sed, [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] thanks to Linux Blog for the tutorial on removing new line characters with a variety of tools (tr, awk, perl, sed, [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rofrol's status on Monday, 19-Oct-09 12:31:06 UTC - Identi.ca</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-674</link>
		<author>rofrol's status on Monday, 19-Oct-09 12:31:06 UTC - Identi.ca</author>
		<pubDate>Mon, 19 Oct 2009 12:31:09 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-674</guid>
		<description>[...]  http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs...       a few seconds ago  from web [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;]  <a href="http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs..." rel="nofollow">http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs&#8230;</a>       a few seconds ago  from web [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Search &#38; Replace Strings Considering the whole file (non line-based) using &#8217;sed&#8217; command &#171; Saminda Wijeratne&#8217;s Weblog</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-671</link>
		<author>Search &#38; Replace Strings Considering the whole file (non line-based) using &#8217;sed&#8217; command &#171; Saminda Wijeratne&#8217;s Weblog</author>
		<pubDate>Sat, 15 Aug 2009 16:55:09 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-671</guid>
		<description>[...] so anyway what you have to do is pretty simple. either you have to format your input to remove the new line characters and feed that as the input and somehow reintroduce the newline character after sed was applied, or feed the whole input to sed in a non-line-based form. Anyway found this on the net. http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs.... [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] so anyway what you have to do is pretty simple. either you have to format your input to remove the new line characters and feed that as the input and somehow reintroduce the newline character after sed was applied, or feed the whole input to sed in a non-line-based form. Anyway found this on the net. <a href="http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs...." rel="nofollow">http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs&#8230;.</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to make a HTTP Requst from command line &#171; Identity Management , SOA, Testing, Monitoring</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-662</link>
		<author>How to make a HTTP Requst from command line &#171; Identity Management , SOA, Testing, Monitoring</author>
		<pubDate>Fri, 10 Jul 2009 16:07:46 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-662</guid>
		<description>[...] http://linux.dsplabs.com.au/rmnl-http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] <a href="http://linux.dsplabs.com.au/rmnl-http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/" rel="nofollow">http://linux.dsplabs.com.au/rmnl-http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/</a> [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reemplaça múltiples linies de text amb el sed! &#171; alliberats.org</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-625</link>
		<author>Reemplaça múltiples linies de text amb el sed! &#171; alliberats.org</author>
		<pubDate>Mon, 06 Apr 2009 08:46:51 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-625</guid>
		<description>[...] a aquesta web vaig trobar la solució. Ja que el sed no reconeix la sintaxi obia que seria se [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] a aquesta web vaig trobar la solució. Ja que el sed no reconeix la sintaxi obia que seria se [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: guillem</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-624</link>
		<author>guillem</author>
		<pubDate>Mon, 30 Mar 2009 12:30:11 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-624</guid>
		<description>With this code

sed ':a;N;$!ba;s/\n/ /g' 

You saved my life. Many thanks :)

I was wandering why is not as easy with sed to delete two consequitive lines as:

sed 's&#124;firs-line\second\line&#124;&#124;g'

Cheers from catalonia ;)</description>
		<content:encoded><![CDATA[<p>With this code</p>
<p>sed &#039;:a;N;$!ba;s/\n/ /g&#039; </p>
<p>You saved my life. Many thanks <img src='http://linux.dsplabs.com.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I was wandering why is not as easy with sed to delete two consequitive lines as:</p>
<p>sed &#039;s|firs-line\second\line||g&#039;</p>
<p>Cheers from catalonia <img src='http://linux.dsplabs.com.au/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rmnl — remove new line characters with tr, awk, perl, sed or C/C++ : Linux T&#38;T</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-620</link>
		<author>rmnl — remove new line characters with tr, awk, perl, sed or C/C++ : Linux T&#38;T</author>
		<pubDate>Mon, 16 Mar 2009 07:49:47 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-620</guid>
		<description>[...] Linux Blog » rmnl — remove new line characters with tr, awk, perl, sed or C/C++ [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Linux Blog » rmnl — remove new line characters with tr, awk, perl, sed or C/C++ [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tatwright</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-610</link>
		<author>tatwright</author>
		<pubDate>Sun, 15 Feb 2009 01:43:13 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-610</guid>
		<description>In perl you could use

perl -p -e "chomp;"</description>
		<content:encoded><![CDATA[<p>In perl you could use</p>
<p>perl -p -e &#034;chomp;&#034;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arjun</title>
		<link>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-559</link>
		<author>Arjun</author>
		<pubDate>Thu, 06 Nov 2008 13:37:19 +0000</pubDate>
		<guid>http://linux.dsplabs.com.au/rmnl-remove-new-line-characters-tr-awk-perl-sed-c-cpp-bash-python-xargs-ghc-ghci-haskell-sam-ssam-p65/#comment-559</guid>
		<description>Awesome! I was pulling out my hair for quite some time trying to do this with sed, thanks for the post!</description>
		<content:encoded><![CDATA[<p>Awesome! I was pulling out my hair for quite some time trying to do this with sed, thanks for the post!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

