<?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: script to modify file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631003#M676232</link>
    <description>Hi (again) Tom:&lt;BR /&gt;&lt;BR /&gt;# perl -pi.old -e 's/\bORA\b/AORA/' logfile&lt;BR /&gt;&lt;BR /&gt;This substitutes "AORA" for the sequence "ORA" when "ORA" is bounded by a "word" boundary.  That is, where there is a "word character" on one side but not the other.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 10 May 2010 16:31:00 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2010-05-10T16:31:00Z</dc:date>
    <item>
      <title>script to modify file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631000#M676229</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;i have a script to search for oracle alert log file "ORA-" and it is working fine.&lt;BR /&gt;i would like to do: when it find "ORA-", it will add a character like " A" to "ORA" like this "AORA" and save the file.&lt;BR /&gt;is it possible.&lt;BR /&gt;Please help.&lt;BR /&gt;Thanks,&lt;BR /&gt;Tom</description>
      <pubDate>Mon, 10 May 2010 13:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631000#M676229</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2010-05-10T13:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: script to modify file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631001#M676230</link>
      <description>Hi Tom:&lt;BR /&gt;&lt;BR /&gt;This could be as simple as:&lt;BR /&gt;&lt;BR /&gt;# perl -pi.old -e 's/ORA-/AORA-/' logfile&lt;BR /&gt;&lt;BR /&gt;This performs an in-place update, preserving a backup copy of the file as "*.old".&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 10 May 2010 13:25:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631001#M676230</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-05-10T13:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: script to modify file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631002#M676231</link>
      <description>Thanks James,&lt;BR /&gt;&lt;BR /&gt;It works,&lt;BR /&gt;&lt;BR /&gt;if i just want to search for ORA- and not AORA- &lt;BR /&gt;i am using grep ORA- now and the result :&lt;BR /&gt;ORA- AND AORA-&lt;BR /&gt;how can i limit the search only to ORA- but not AORA-.&lt;BR /&gt;Thanks very much for your help.</description>
      <pubDate>Mon, 10 May 2010 16:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631002#M676231</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2010-05-10T16:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: script to modify file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631003#M676232</link>
      <description>Hi (again) Tom:&lt;BR /&gt;&lt;BR /&gt;# perl -pi.old -e 's/\bORA\b/AORA/' logfile&lt;BR /&gt;&lt;BR /&gt;This substitutes "AORA" for the sequence "ORA" when "ORA" is bounded by a "word" boundary.  That is, where there is a "word character" on one side but not the other.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 10 May 2010 16:31:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-modify-file/m-p/4631003#M676232</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2010-05-10T16:31:00Z</dc:date>
    </item>
  </channel>
</rss>

