<?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 Standard C question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172602#M718129</link>
    <description>Assuming the standard C compiler shipped with 11.00, the function strstr(s1, s2) returns a point to the first occurance of s2 in s1. &lt;BR /&gt;&lt;BR /&gt;I left my K&amp;amp;R at home today and the man page does not give any more detail.&lt;BR /&gt;&lt;BR /&gt;Does this use regular express matching or is exact char matching? Can I pass s2=".pk[bghs]$" to find the 4 possible patterns anchored at the end of the line?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-Dave</description>
    <pubDate>Fri, 23 Jan 2004 14:22:38 GMT</pubDate>
    <dc:creator>Dave Johnson_1</dc:creator>
    <dc:date>2004-01-23T14:22:38Z</dc:date>
    <item>
      <title>Standard C question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172602#M718129</link>
      <description>Assuming the standard C compiler shipped with 11.00, the function strstr(s1, s2) returns a point to the first occurance of s2 in s1. &lt;BR /&gt;&lt;BR /&gt;I left my K&amp;amp;R at home today and the man page does not give any more detail.&lt;BR /&gt;&lt;BR /&gt;Does this use regular express matching or is exact char matching? Can I pass s2=".pk[bghs]$" to find the 4 possible patterns anchored at the end of the line?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-Dave</description>
      <pubDate>Fri, 23 Jan 2004 14:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172602#M718129</guid>
      <dc:creator>Dave Johnson_1</dc:creator>
      <dc:date>2004-01-23T14:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: Standard C question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172603#M718130</link>
      <description>No, strstr (or any of the string(3c)) functions do not do regular expression evaluation; however, regex() will do what you need. Man regex for details.&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2004 14:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172603#M718130</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-01-23T14:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Standard C question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172604#M718131</link>
      <description>Does this use regular express matching? nope</description>
      <pubDate>Fri, 23 Jan 2004 14:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/standard-c-question/m-p/3172604#M718131</guid>
      <dc:creator>curt larson_1</dc:creator>
      <dc:date>2004-01-23T14:45:46Z</dc:date>
    </item>
  </channel>
</rss>

