<?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: exact match in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891986#M843816</link>
    <description>Many thanks!&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Mar 2005 03:28:45 GMT</pubDate>
    <dc:creator>Pando</dc:creator>
    <dc:date>2005-03-21T03:28:45Z</dc:date>
    <item>
      <title>exact match</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891984#M843814</link>
      <description>i have a data inside a file that looks like this:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;Difusion Lot ID, 11111-11 (line 1)&lt;BR /&gt;Lot ID, 3649              (line 2)&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;I need to get only the value of the 2nd line and stored in a variable but&lt;BR /&gt;what i get was the value of the 1st line because of the word Lot ID.&lt;BR /&gt;&lt;BR /&gt;I have used the command:&lt;BR /&gt;&lt;BR /&gt;measbatch=$(awk -F "," '/Lot ID/ {print $2}' $MFILE)&lt;BR /&gt;&lt;BR /&gt;Maximum points for all correct answers!</description>
      <pubDate>Mon, 21 Mar 2005 03:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891984#M843814</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2005-03-21T03:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: exact match</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891985#M843815</link>
      <description>Hi Fernando,&lt;BR /&gt;if you are absolutely sure that the second line starts with Lot ID, you can use the "hat" symbol for specifying beginning of line, e.g.:&lt;BR /&gt;measbatch=$(awk -F "," '/^Lot ID/ {print $2}' $MFILE)&lt;BR /&gt;&lt;BR /&gt;but perhaps you can define the line requested line differently?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2005 03:19:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891985#M843815</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2005-03-21T03:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: exact match</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891986#M843816</link>
      <description>Many thanks!&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Mar 2005 03:28:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exact-match/m-p/4891986#M843816</guid>
      <dc:creator>Pando</dc:creator>
      <dc:date>2005-03-21T03:28:45Z</dc:date>
    </item>
  </channel>
</rss>

