bug-gawk
[Top][All Lists]
Advanced

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

Re: 'FS' and 'IGNORECASE' example in chapter 4.5.6 produces syntax error


From: Arkadiusz Drabczyk
Subject: Re: 'FS' and 'IGNORECASE' example in chapter 4.5.6 produces syntax error
Date: Tue, 22 Dec 2020 15:41:29 +0100

On Tue, Dec 22, 2020 at 07:12:18AM -0700, arnold@skeeve.com wrote:
> Hi.
> 
> The bit you've quoted is a code fragment; the manual doesn't always
> show complete programs.  Something like:
> 
>       BEGIN {
>               FS = "c"
>               IGNORECASE = 1
>               $0 = "aCa"
>               print $1
>       }
> 
> should work.

Well, ok. It's just this is the first time I've come across a
non-complet code snippet while reading AWK manual and that clearly
says:

in the following code
(...)
The output is

Thank you for your answer.

-- 
Arkadiusz Drabczyk <arkadiusz@drabczyk.org>



reply via email to

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