<?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 issue? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566336#M838513</link>
    <description>s/regular expression/replacement/flags&lt;BR /&gt;&lt;BR /&gt;Any character can be used instead of /.&lt;BR /&gt;&lt;BR /&gt;In your case they used equal sign (=).&lt;BR /&gt;&lt;BR /&gt;This sed command will match some text not containing dot character (.), followed by dot (.), followed by zero of more numbers, followed by zero of more characters. Numbers matched after the dot will be returned (\1).&lt;BR /&gt;&lt;BR /&gt;hello world blah.123 hello world&lt;BR /&gt;&lt;BR /&gt;and will return 123.</description>
    <pubDate>Sat, 18 Jun 2005 03:16:43 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2005-06-18T03:16:43Z</dc:date>
    <item>
      <title>sed issue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566335#M838512</link>
      <description>Dear all,&lt;BR /&gt;&lt;BR /&gt;Could you please tell me what's the meaning of:&lt;BR /&gt;grep -E '^exception:' $LOG | sed 's=[^.]*.\([0-9]*\).*=\1='&lt;BR /&gt;&lt;BR /&gt;I can't find any clue of "s=..." in the manual of sed.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jack</description>
      <pubDate>Sat, 18 Jun 2005 02:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566335#M838512</guid>
      <dc:creator>Jack_27</dc:creator>
      <dc:date>2005-06-18T02:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: sed issue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566336#M838513</link>
      <description>s/regular expression/replacement/flags&lt;BR /&gt;&lt;BR /&gt;Any character can be used instead of /.&lt;BR /&gt;&lt;BR /&gt;In your case they used equal sign (=).&lt;BR /&gt;&lt;BR /&gt;This sed command will match some text not containing dot character (.), followed by dot (.), followed by zero of more numbers, followed by zero of more characters. Numbers matched after the dot will be returned (\1).&lt;BR /&gt;&lt;BR /&gt;hello world blah.123 hello world&lt;BR /&gt;&lt;BR /&gt;and will return 123.</description>
      <pubDate>Sat, 18 Jun 2005 03:16:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566336#M838513</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2005-06-18T03:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: sed issue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566337#M838514</link>
      <description>The '=' character is being used as a delimiter in sed, i.e. instead of the default '/' character.&lt;BR /&gt;&lt;BR /&gt;As for the sed command, it looks like its looking for a number of non-dot characters, followed by a dot (.), followed by a number, followed by other characters.  In its place it was put just the number, i.e. abcdef.12345ghijk will become 12345.  &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Sat, 18 Jun 2005 03:54:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566337#M838514</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2005-06-18T03:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: sed issue?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566338#M838515</link>
      <description>It's resolved.&lt;BR /&gt;&lt;BR /&gt;Thank you both experts!&lt;BR /&gt;Jack</description>
      <pubDate>Sat, 18 Jun 2005 04:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sed-issue/m-p/3566338#M838515</guid>
      <dc:creator>Jack_27</dc:creator>
      <dc:date>2005-06-18T04:19:15Z</dc:date>
    </item>
  </channel>
</rss>

