[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rule with starting { on next line
From: |
uzibalqa |
Subject: |
Re: Rule with starting { on next line |
Date: |
Sun, 09 Apr 2023 22:50:20 +0000 |
------- Original Message -------
On Monday, April 10th, 2023 at 8:12 AM, uzibalqa via Help-gawk
<help-gawk@gnu.org> wrote:
> I am doing the following, which is repeating "MATCH $0 BEG_ERE" for every
> line.
> Primarily because the starting "{" starts on the next line. Would this be a
> bug?
>
> match($0, beg_ere, maggr)
> {
> print "MATCH $0 BEG_ERE"
> print " " $0
> next
> }
Have been looking through the manual. But could not find some information about
not having the opening "{" on the next line for
pattern { action }
BEGIN { action }
END { action }