<?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: Problem in awk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643271#M879129</link>
    <description>Hello again everyone. As part of this same project to insert voter data into a program written in Informix ESQL/C, I have been asked to add a 'Sound Index' to the scrolling index. The idea is that names like 'Tomas' and 'Thomas' will appear near each other. I've never heard of a 'Sound Index'. Is there such a thing?&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help so far.&lt;BR /&gt;&lt;BR /&gt;Mary</description>
    <pubDate>Mon, 14 Jan 2002 21:27:25 GMT</pubDate>
    <dc:creator>Mary Rice</dc:creator>
    <dc:date>2002-01-14T21:27:25Z</dc:date>
    <item>
      <title>Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643259#M879117</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to convert a large amount of data in flat ASCII files&lt;BR /&gt;for later insertion into an Informix database. I am trying to use awk to massage the data. I keep getting this error message:&lt;BR /&gt;awk: Input line ....   cannot be longer than 3,000 bytes.&lt;BR /&gt;The source line number is 17. &lt;BR /&gt;&lt;BR /&gt;I have looked at the man pages for awk and I don't see any argument that allows me to increase this limit.  Am I missing something?&lt;BR /&gt;&lt;BR /&gt;Please help, Mary</description>
      <pubDate>Fri, 11 Jan 2002 18:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643259#M879117</guid>
      <dc:creator>Mary Rice</dc:creator>
      <dc:date>2002-01-11T18:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643260#M879118</link>
      <description>Hi Mary:&lt;BR /&gt;&lt;BR /&gt;That question has come up before and the answer is to use the Gnu version of awk 'gawk' which removes those restrictions. You can download an executable version from any of the HP-UX Porting Centre's. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.0/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.0/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You will find that gawk is compatible with your version of awk and is in fact a superset of awk. Download it and you should be all set.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2002 18:07:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643260#M879118</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-11T18:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643261#M879119</link>
      <description>Hi Mary,&lt;BR /&gt;&lt;BR /&gt;Try this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=68d111b104dddf4e8b/screen=ckiDisplayDocument?docId=200000049016754" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=68d111b104dddf4e8b/screen=ckiDisplayDocument?docId=200000049016754&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is what this doc says,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;1). Set large_ncargs_enable to 1.&lt;BR /&gt;2). Rebuild the kernel.&lt;BR /&gt;3). Reboot the system.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2002 18:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643261#M879119</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-11T18:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643262#M879120</link>
      <description>Hi Mary,&lt;BR /&gt;&lt;BR /&gt;awk has a line limit of 3000 bytes. &lt;BR /&gt;&lt;BR /&gt;You could try installing Gnu awk which can be configured to have a larger buffer.&lt;BR /&gt;&lt;BR /&gt;You can get gawk here:&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.0/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gawk-3.1.0/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Fri, 11 Jan 2002 18:12:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643262#M879120</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2002-01-11T18:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643263#M879121</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Sanjay, I can't find the kernel parameter that you suggested. How do I increase it? I am running HP-UX 11.0 32-bit on an HP9000 D-380. Do I need a patch?&lt;BR /&gt;&lt;BR /&gt;Thank you, Mary&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2002 19:16:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643263#M879121</guid>
      <dc:creator>Mary Rice</dc:creator>
      <dc:date>2002-01-11T19:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643264#M879122</link>
      <description>Hi Mary:&lt;BR /&gt;&lt;BR /&gt;I disagree with Sanjay's solution.  The 'ncargs_enable' applied to 10.x and dealt with allowing longer parameters or lists (argument space).  This is intrinsically enabled in 11.x releases.&lt;BR /&gt;&lt;BR /&gt;This does *not* relate to 'awks' internal limitation of 3000-bytes per line.&lt;BR /&gt;&lt;BR /&gt;The suggestion to use a GNU version of 'awk' as provided by Clay and by John is the appropriate answer.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 11 Jan 2002 19:34:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643264#M879122</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-11T19:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643265#M879123</link>
      <description>Hi Mary,&lt;BR /&gt;&lt;BR /&gt;Try this patch,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=b6df6eb510848343a1?PATCH_PATH=/hp-ux_patches/s700_800/11.X/PHCO_23876&amp;amp;HW=s800&amp;amp;OS=11.00" target="_blank"&gt;http://us-support.external.hp.com/wpsl/bin/doc.pl/screen=wpslDisplayPatch/sid=b6df6eb510848343a1?PATCH_PATH=/hp-ux_patches/s700_800/11.X/PHCO_23876&amp;amp;HW=s800&amp;amp;OS=11.00&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2002 19:37:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643265#M879123</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-11T19:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643266#M879124</link>
      <description>Hi Mary:&lt;BR /&gt;&lt;BR /&gt;You can patch the kernel and SAM and you can try to play with ncargs till the cows come home and you are still going to be facing the INHERENT limit of awk. This problem has absolutely nothing to do with Sanjay's 'solution'. First of all, it does not apply to an 11x box. Secondly, his solution which he obviously didn't bother to examine applies to environment space specifically to exec() system calls. Sanjay has been the unfortunate victim of a search engine - it returned just what he asked. It returned quite a bit of data but with very little relevance. One might say that there is a signal/noise ratio problem here. I suppose that I am most disturbed that after JRF's posting, Sanjay went ahead and listed a link to patches. By all means, if you need current patches apply them but not to fix this problem.&lt;BR /&gt;&lt;BR /&gt;Install gawk and I assure you that you will have no trouble processing your input.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Fri, 11 Jan 2002 21:17:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643266#M879124</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-11T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643267#M879125</link>
      <description>Hi JRF and Clay,&lt;BR /&gt;&lt;BR /&gt;Can you post your contact info. I think we should have a talk.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;Sanjay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jan 2002 21:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643267#M879125</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-01-11T21:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643268#M879126</link>
      <description>Hello everyone and thank you.  I was reluctant to install non-HP software but finally I tried Clay's and John's advice and installed the Gnu version of awk. It worked the first time!&lt;BR /&gt;&lt;BR /&gt;Thank you, Mary</description>
      <pubDate>Fri, 11 Jan 2002 21:59:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643268#M879126</guid>
      <dc:creator>Mary Rice</dc:creator>
      <dc:date>2002-01-11T21:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643269#M879127</link>
      <description>What do you need contract info. for Sanjay?&lt;BR /&gt;&lt;BR /&gt;I have a feeling you may be outnumbered here.  I happen to agree with JRF and A. Clay 100%.</description>
      <pubDate>Fri, 11 Jan 2002 22:02:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643269#M879127</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-01-11T22:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643270#M879128</link>
      <description>Hi Sanjay,&lt;BR /&gt;&lt;BR /&gt;No crown here, so take this FWIW . . . &lt;BR /&gt;&lt;BR /&gt;I too have grown quite weary of seeing your knee-jerk, link-infested replies.  Hell, I can teach my 8-year-old son to run a search engine and rack up forum points.  But that's not the "point", is it?&lt;BR /&gt;&lt;BR /&gt;If you know the answer, state it plainly so that the person who posted the question doesn't have to go on some demented wild goose chase from link to link to link.&lt;BR /&gt;&lt;BR /&gt;Is your interest in helping fellow admins or just amassing points?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jim</description>
      <pubDate>Fri, 11 Jan 2002 22:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643270#M879128</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2002-01-11T22:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643271#M879129</link>
      <description>Hello again everyone. As part of this same project to insert voter data into a program written in Informix ESQL/C, I have been asked to add a 'Sound Index' to the scrolling index. The idea is that names like 'Tomas' and 'Thomas' will appear near each other. I've never heard of a 'Sound Index'. Is there such a thing?&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help so far.&lt;BR /&gt;&lt;BR /&gt;Mary</description>
      <pubDate>Mon, 14 Jan 2002 21:27:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643271#M879129</guid>
      <dc:creator>Mary Rice</dc:creator>
      <dc:date>2002-01-14T21:27:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643272#M879130</link>
      <description>Hello again Mary,&lt;BR /&gt;&lt;BR /&gt;Yes, there is such a thing (Soundex) which generates a four-character string (A100-Z656) off the top of my head from a list of name. It would proably be best if your start a new thread with this as this does not pertain to awk and others looking for similar solutions might be sent astray. The good news is that I have such a function and will post it if you submit a new thread.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Mon, 14 Jan 2002 21:31:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643272#M879130</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-01-14T21:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643273#M879131</link>
      <description>Hi Clay and thank you. I am new to the Forums and didn't know the proper procedure. I will repost my second request.&lt;BR /&gt;&lt;BR /&gt;Mary</description>
      <pubDate>Mon, 14 Jan 2002 21:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643273#M879131</guid>
      <dc:creator>Mary Rice</dc:creator>
      <dc:date>2002-01-14T21:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in awk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643274#M879132</link>
      <description>Hi Mary:&lt;BR /&gt;&lt;BR /&gt;Absolutely!  We've use one for years, although it's written in Algol for a Unisys server.&lt;BR /&gt;&lt;BR /&gt;The general idea is to reduce alphabetic strings into simple similar keys that can then be used in searching and matching.&lt;BR /&gt;&lt;BR /&gt;For instance, my name, "Ferguson" has several common spelling variations which "sound-alike".  On the telephone you might spell it "Ferguson", "Furguson", "Furgason", "Furgasen", etc.&lt;BR /&gt;&lt;BR /&gt;The algorithm we use retains the first letter; drops all vowels (a,e,i,o,u); and maps the remaining letters to a single digit.&lt;BR /&gt;&lt;BR /&gt;All of the above variations of "Ferguson" would return a "soundex" key of F625.&lt;BR /&gt;&lt;BR /&gt;Does this help?&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 14 Jan 2002 21:50:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-in-awk/m-p/2643274#M879132</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-14T21:50:27Z</dc:date>
    </item>
  </channel>
</rss>

