<?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, 11 Mar 2010 19:31:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<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>
