<?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 using sed to display message in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118879#M899178</link>
    <description>I want to grab the numbers from this string.&lt;BR /&gt;java version "1.1.6"&lt;BR /&gt;How do I do that?&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 13 Nov 2003 17:01:36 GMT</pubDate>
    <dc:creator>Adi_7</dc:creator>
    <dc:date>2003-11-13T17:01:36Z</dc:date>
    <item>
      <title>using sed to display message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118879#M899178</link>
      <description>I want to grab the numbers from this string.&lt;BR /&gt;java version "1.1.6"&lt;BR /&gt;How do I do that?&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 13 Nov 2003 17:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118879#M899178</guid>
      <dc:creator>Adi_7</dc:creator>
      <dc:date>2003-11-13T17:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: using sed to display message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118880#M899179</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;num=(echo $string | cut -d" " -f3)&lt;BR /&gt;or &lt;BR /&gt;num=(echo $string | cut -c14- )&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Nov 2003 17:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118880#M899179</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2003-11-13T17:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: using sed to display message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118881#M899180</link>
      <description># echo java version "1.1.6" | awk '{print$3}'</description>
      <pubDate>Thu, 13 Nov 2003 17:09:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118881#M899180</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2003-11-13T17:09:53Z</dc:date>
    </item>
    <item>
      <title>Re: using sed to display message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118882#M899181</link>
      <description>do you want the double quotes too?&lt;BR /&gt;if not&lt;BR /&gt;print $string | sed 's/[^"]*\"\([0-9.]\).*/\1/&lt;BR /&gt;or&lt;BR /&gt;print $sting | awk -F\" '{print $2;}'</description>
      <pubDate>Thu, 13 Nov 2003 17:14:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118882#M899181</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2003-11-13T17:14:22Z</dc:date>
    </item>
    <item>
      <title>Re: using sed to display message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118883#M899182</link>
      <description>Why not use the -F option to tell awk to deliit with quotes...&lt;BR /&gt;&lt;BR /&gt;echo 'java version "1.1.6"'|awk -F\" '{print $2}'&lt;BR /&gt;&lt;BR /&gt;-- Graham</description>
      <pubDate>Fri, 14 Nov 2003 03:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118883#M899182</guid>
      <dc:creator>Graham Cameron_1</dc:creator>
      <dc:date>2003-11-14T03:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: using sed to display message</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118884#M899183</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In ksh or posix sh&lt;BR /&gt;&lt;BR /&gt;b=${string#*\"}&lt;BR /&gt;echo ${b%\"*}</description>
      <pubDate>Fri, 14 Nov 2003 07:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-sed-to-display-message/m-p/3118884#M899183</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2003-11-14T07:04:37Z</dc:date>
    </item>
  </channel>
</rss>

