Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Awk > Re: problems wi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 2145 of 2241
Post > Topic >>

Re: problems with awka for windows

by Hermann Peifer <peifer@[EMAIL PROTECTED] > Jan 29, 2008 at 08:31 PM

Roland Rau wrote:
> Dear all,
> 
> I am processing rather large files (at least large in my opinion; the 
> combined number of records is about 94million) and I used successfully 
> gawk so far. At home on my GNU/Linux computer, I tried awka and it gave 
> me a speed boost of about 10-15times in comparison to gawk. At work, 
> however, I am confined to Windows and I was unable to work with awka 
> (0.7.5).
> 
> I tried the following (intentionally simple) script called
awkascript.awk
> 
> BEGIN {
>     mycounter = 0;
> }
> {
>     mycounter += 1;
> }
> END {
>     print mycounter;
> }
> 
> 
> as follows:
> gawk -f awkascript.awk afile.txt
> and everything worked fine.
> 
> If I do, however,
> awka -X -f awkascript.awk

I have no idea about awka, but one observation is that you
don't mention any data file above.

Hermann




 4 Posts in Topic:
problems with awka for windows
Roland Rau <roland.rau  2008-01-29 12:33:48 
Re: problems with awka for windows
Hermann Peifer <peifer  2008-01-29 20:31:36 
Re: problems with awka for windows
Roland Rau <roland.rau  2008-01-29 14:57:42 
Re: problems with awka for windows
pop <p_o_p@[EMAIL PROT  2008-01-29 16:26:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 6:20:12 CDT 2008.