<?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: File content Checking in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-content-checking/m-p/3417701#M861571</link>
    <description>This should work:&lt;BR /&gt;&lt;BR /&gt;VAR=$(grep "&lt;SUBID&gt;" file | awk -F " '{print $2}')&lt;BR /&gt;&lt;BR /&gt;You might have to escape the " in the '-F' like:&lt;BR /&gt;&lt;BR /&gt;VAR=$(grep "&lt;SUBID&gt;" file | awk -F \" '{print $2}')&lt;BR /&gt;&lt;BR /&gt;&lt;/SUBID&gt;&lt;/SUBID&gt;</description>
    <pubDate>Mon, 08 Nov 2004 22:19:57 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2004-11-08T22:19:57Z</dc:date>
    <item>
      <title>File content Checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-content-checking/m-p/3417700#M861570</link>
      <description>I have a file which contain the line&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;&lt;SUBID&gt;"XXXXX"&lt;/SUBID&gt;&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;I need to get the XXXXX part to be passed to a variable. How can i get it in a single command?&lt;BR /&gt;&lt;BR /&gt;Maximum points for correct reply!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Nov 2004 22:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-content-checking/m-p/3417700#M861570</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2004-11-08T22:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: File content Checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-content-checking/m-p/3417701#M861571</link>
      <description>This should work:&lt;BR /&gt;&lt;BR /&gt;VAR=$(grep "&lt;SUBID&gt;" file | awk -F " '{print $2}')&lt;BR /&gt;&lt;BR /&gt;You might have to escape the " in the '-F' like:&lt;BR /&gt;&lt;BR /&gt;VAR=$(grep "&lt;SUBID&gt;" file | awk -F \" '{print $2}')&lt;BR /&gt;&lt;BR /&gt;&lt;/SUBID&gt;&lt;/SUBID&gt;</description>
      <pubDate>Mon, 08 Nov 2004 22:19:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-content-checking/m-p/3417701#M861571</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-11-08T22:19:57Z</dc:date>
    </item>
  </channel>
</rss>

