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


|