<?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: perl special character in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103549#M91017</link>
    <description>Not sure I understand why that works...but it does.&lt;BR /&gt;&lt;BR /&gt;Thanks James&lt;BR /&gt;&lt;BR /&gt;(who also provided the original code as a solution for me in a different thread!!  :)</description>
    <pubDate>Tue, 15 Apr 2008 11:21:14 GMT</pubDate>
    <dc:creator>OFC_EDM</dc:creator>
    <dc:date>2008-04-15T11:21:14Z</dc:date>
    <item>
      <title>perl special character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103547#M91015</link>
      <description>I'm trying to find the line&lt;BR /&gt;#DISABLETIME=48  (or any 2 digit value)&lt;BR /&gt;&lt;BR /&gt;and replace with &lt;BR /&gt;&lt;BR /&gt;DISABLETIME=60  (note: now uncommented)&lt;BR /&gt;&lt;BR /&gt;My command is&lt;BR /&gt;perl -pi.old -e 's/\b\\#DISABLETIME=\d\d\b/DISABLETIME=60/' filename&lt;BR /&gt;&lt;BR /&gt;Where I've tried escaping the # character.  Also tried various forms of quoting etc. but without success.&lt;BR /&gt;&lt;BR /&gt;What's wrong with my command?&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Tue, 15 Apr 2008 10:19:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103547#M91015</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-04-15T10:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: perl special character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103548#M91016</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Make the boundry (\b) and optional match:&lt;BR /&gt;&lt;BR /&gt;# perl -pi.old -e 's/\b?\#DISABLETIME=\d\d\b/DISABLETIME=60/' filename&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 15 Apr 2008 10:44:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103548#M91016</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-04-15T10:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: perl special character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103549#M91017</link>
      <description>Not sure I understand why that works...but it does.&lt;BR /&gt;&lt;BR /&gt;Thanks James&lt;BR /&gt;&lt;BR /&gt;(who also provided the original code as a solution for me in a different thread!!  :)</description>
      <pubDate>Tue, 15 Apr 2008 11:21:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103549#M91017</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-04-15T11:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: perl special character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103550#M91018</link>
      <description>Worked</description>
      <pubDate>Tue, 15 Apr 2008 12:57:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perl-special-character/m-p/5103550#M91018</guid>
      <dc:creator>OFC_EDM</dc:creator>
      <dc:date>2008-04-15T12:57:12Z</dc:date>
    </item>
  </channel>
</rss>

