<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sed help? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084811#M92853</link>
    <description>Many thanks!</description>
    <pubDate>Tue, 18 Dec 2007 17:41:18 GMT</pubDate>
    <dc:creator>Rick Garland</dc:creator>
    <dc:date>2007-12-18T17:41:18Z</dc:date>
    <item>
      <title>sed help?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084809#M92851</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Working with a file that looks like so;&lt;BR /&gt;item1,&lt;BR /&gt;item2,&lt;BR /&gt;item3,&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;Would like to have it on 1 line so it likes like;&lt;BR /&gt;item1,item2,item3, ...&lt;BR /&gt;&lt;BR /&gt;Trying to do with sed but not having much luck.&lt;BR /&gt;Any help?&lt;BR /&gt;&lt;BR /&gt;Many thanks!</description>
      <pubDate>Tue, 18 Dec 2007 16:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084809#M92851</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2007-12-18T16:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: sed help?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084810#M92852</link>
      <description>Rick,&lt;BR /&gt;&lt;BR /&gt;I don't think this is exactly what you're looking for, but it might be a start:&lt;BR /&gt;&lt;BR /&gt;# join pairs of lines side-by-side (like "paste")&lt;BR /&gt; sed 'N;s/\n/ /'&lt;BR /&gt;&lt;BR /&gt;From "Handy One-liners for SED" (attached).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 18 Dec 2007 17:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084810#M92852</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-12-18T17:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: sed help?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084811#M92853</link>
      <description>Many thanks!</description>
      <pubDate>Tue, 18 Dec 2007 17:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084811#M92853</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2007-12-18T17:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: sed help?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084812#M92854</link>
      <description>Hi Rick:&lt;BR /&gt;&lt;BR /&gt;Using 'tr' is an inexpensive (resource-wise) way to affect this transformation:&lt;BR /&gt;&lt;BR /&gt;# echo "a,\nb,\nc,\nd,\ne"|tr -s "\012" " "&lt;BR /&gt;&lt;BR /&gt;...or if you want to eliminate the extra blank field seperator:&lt;BR /&gt;&lt;BR /&gt;# echo "a,\nb,\nc,\nd,\ne"|tr -s "\012" " "|tr -d " "&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 18 Dec 2007 18:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/sed-help/m-p/5084812#M92854</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-18T18:18:59Z</dc:date>
    </item>
  </channel>
</rss>

