<?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 equivalent in perl in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027670#M75908</link>
    <description>gurus,&lt;BR /&gt;&lt;BR /&gt;what is the equivalent of this in perl&lt;BR /&gt;&lt;BR /&gt;sed '1s/blablabla/bla/' file.txt&lt;BR /&gt;&lt;BR /&gt;basically i want to the reg exp substitution to happen on specific lines and not on all.&lt;BR /&gt;&lt;BR /&gt;tia&lt;BR /&gt;-balaji</description>
    <pubDate>Fri, 18 Jul 2003 16:34:18 GMT</pubDate>
    <dc:creator>Balaji N</dc:creator>
    <dc:date>2003-07-18T16:34:18Z</dc:date>
    <item>
      <title>equivalent in perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027670#M75908</link>
      <description>gurus,&lt;BR /&gt;&lt;BR /&gt;what is the equivalent of this in perl&lt;BR /&gt;&lt;BR /&gt;sed '1s/blablabla/bla/' file.txt&lt;BR /&gt;&lt;BR /&gt;basically i want to the reg exp substitution to happen on specific lines and not on all.&lt;BR /&gt;&lt;BR /&gt;tia&lt;BR /&gt;-balaji</description>
      <pubDate>Fri, 18 Jul 2003 16:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027670#M75908</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-07-18T16:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: equivalent in perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027671#M75909</link>
      <description>This is how I did it:&lt;BR /&gt;&lt;BR /&gt;$commandline - "sed /s/tzfat/hebron/g $filename";&lt;BR /&gt;&lt;BR /&gt;system("$commandline");&lt;BR /&gt;&lt;BR /&gt;I know, cheating, cheating ...&lt;BR /&gt;&lt;BR /&gt;This stuff is discussedin O'reilly's Perl Cookbook Chapter 6 Pattern matching.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 18 Jul 2003 17:02:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027671#M75909</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-07-18T17:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: equivalent in perl</title>
      <link>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027672#M75910</link>
      <description>perl -pi -e '1 .. s/blablabla/bla' file.txt&lt;BR /&gt;&lt;BR /&gt;thanks SEP for pointing the right resource.&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Fri, 18 Jul 2003 18:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/equivalent-in-perl/m-p/3027672#M75910</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-07-18T18:24:18Z</dc:date>
    </item>
  </channel>
</rss>

