[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] 'error' in cut.awk

From: Aharon Robbins
Subject: Re: [bug-gawk] 'error' in cut.awk
Date: Thu, 16 May 2013 11:23:35 +0300
User-agent: Heirloom mailx 12.5 6/20/10

Hi.  Can you please send me the full script you are using? (wc.ack)

A quick glance makes it look like you are correct but I would like to
see the full code and review this more carefully.

It would help if you would send both your program and your data files
as attachments, to avoid any mangling by mail programs.



> Date: Sat, 11 May 2013 14:21:41 +0100
> From: david ward <address@hidden>
> To: bug-gawk <address@hidden>
> Subject: [bug-gawk] 'error' in cut.awk
> gawk 4.0.2
> manual 4.0.2 and in examples with distribution
> In the last block , for the first if should this not be index($0,FS)= =0
> not index($0,FS) !=0
> Test case
> The\train\tinSpain\tstays\ton\tthe\tplain
> The#cat#sat#on#the#mat
> The\tcat\sat\ton\tthe\tmat
> with !=
> igawk  -f   wc.ack   --  -s -f 2-4   cut-test
> no output
> with  ==
> rain\tin\tspain
> cat\tsat\tmat

reply via email to

[Prev in Thread] Current Thread [Next in Thread]