<?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: removing spaces in the file starting at certain line number in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978155#M99550</link>
    <description>Fernando,&lt;BR /&gt;I believe Rajeev's solution should have been:&lt;BR /&gt;sed '10,$s/ //g' file &amp;gt; outputfile&lt;BR /&gt;&lt;BR /&gt;The first part of the sed command in the original post would only replace spaces in line 10, whereas 10,$ means lines 10 to the end of the file.</description>
    <pubDate>Wed, 10 May 2006 02:11:43 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-05-10T02:11:43Z</dc:date>
    <item>
      <title>removing spaces in the file starting at certain line number</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978153#M99548</link>
      <description>dear gurus,&lt;BR /&gt;&lt;BR /&gt;I have a file that needs to be stripped of spaces beginning at a certain line. For example, i need to strip only the white spaces beginning at line 10. I have found a perl script in this forum but it strips of the white spaces of the whole file. What i need is to strip white spaces beginning only at a certain line of my file.&lt;BR /&gt;Maximum points to all correct replies.&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 09 May 2006 19:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978153#M99548</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2006-05-09T19:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: removing spaces in the file starting at certain line number</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978154#M99549</link>
      <description>use&lt;BR /&gt;sed '10s/ //g' file &amp;gt; outputfile&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 09 May 2006 19:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978154#M99549</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2006-05-09T19:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: removing spaces in the file starting at certain line number</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978155#M99550</link>
      <description>Fernando,&lt;BR /&gt;I believe Rajeev's solution should have been:&lt;BR /&gt;sed '10,$s/ //g' file &amp;gt; outputfile&lt;BR /&gt;&lt;BR /&gt;The first part of the sed command in the original post would only replace spaces in line 10, whereas 10,$ means lines 10 to the end of the file.</description>
      <pubDate>Wed, 10 May 2006 02:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978155#M99550</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-05-10T02:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: removing spaces in the file starting at certain line number</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978156#M99551</link>
      <description>Thanks!</description>
      <pubDate>Sat, 13 May 2006 20:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-spaces-in-the-file-starting-at-certain-line-number/m-p/4978156#M99551</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2006-05-13T20:23:14Z</dc:date>
    </item>
  </channel>
</rss>

