<?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 Shell script Problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627388#M920183</link>
    <description>I am writing a script "/match" to print out a line if two fileds in the input file match.input match.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;# cat match.input&lt;BR /&gt;abc&lt;BR /&gt;abc&lt;BR /&gt;# /match&lt;BR /&gt;Match!&lt;BR /&gt;&lt;BR /&gt;# cat match.input&lt;BR /&gt;abc&lt;BR /&gt;def&lt;BR /&gt;# /match&lt;BR /&gt;Not match!&lt;BR /&gt;&lt;BR /&gt;# cat match.input&lt;BR /&gt;abc&lt;BR /&gt;ABC&lt;BR /&gt;# /match&lt;BR /&gt;Match!&lt;BR /&gt;&lt;BR /&gt;The script should be non-case sensitive.&lt;BR /&gt;I have written a version with case-sensitive but I cannot write one with non-case sensitive.&lt;BR /&gt;&lt;BR /&gt;I am using awk.&lt;BR /&gt;&lt;BR /&gt;Thx.</description>
    <pubDate>Fri, 07 Dec 2001 09:25:47 GMT</pubDate>
    <dc:creator>Ryan Ma</dc:creator>
    <dc:date>2001-12-07T09:25:47Z</dc:date>
    <item>
      <title>Shell script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627388#M920183</link>
      <description>I am writing a script "/match" to print out a line if two fileds in the input file match.input match.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;# cat match.input&lt;BR /&gt;abc&lt;BR /&gt;abc&lt;BR /&gt;# /match&lt;BR /&gt;Match!&lt;BR /&gt;&lt;BR /&gt;# cat match.input&lt;BR /&gt;abc&lt;BR /&gt;def&lt;BR /&gt;# /match&lt;BR /&gt;Not match!&lt;BR /&gt;&lt;BR /&gt;# cat match.input&lt;BR /&gt;abc&lt;BR /&gt;ABC&lt;BR /&gt;# /match&lt;BR /&gt;Match!&lt;BR /&gt;&lt;BR /&gt;The script should be non-case sensitive.&lt;BR /&gt;I have written a version with case-sensitive but I cannot write one with non-case sensitive.&lt;BR /&gt;&lt;BR /&gt;I am using awk.&lt;BR /&gt;&lt;BR /&gt;Thx.</description>
      <pubDate>Fri, 07 Dec 2001 09:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627388#M920183</guid>
      <dc:creator>Ryan Ma</dc:creator>
      <dc:date>2001-12-07T09:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: Shell script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627389#M920184</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Set all to lowercase before comparison. Use awk's tolower(s) function.&lt;BR /&gt;&lt;BR /&gt;tolower(s)        Converts the argument string s to lowercase and returns the result.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Fri, 07 Dec 2001 09:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627389#M920184</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-12-07T09:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Shell script Problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627390#M920185</link>
      <description>Hi,&lt;BR /&gt;The "tr" command will solve that problem for&lt;BR /&gt;you. The example is even given in the &lt;BR /&gt;manpages.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Fri, 07 Dec 2001 09:31:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/shell-script-problem/m-p/2627390#M920185</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2001-12-07T09:31:28Z</dc:date>
    </item>
  </channel>
</rss>

