Path: ...!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!toylet.eternal-september.org!.POSTED!not-for-mail From: "Mr. Man-wai Chang" Newsgroups: comp.lang.awk Subject: Re: Breaking a table of record rows into an array Date: Tue, 12 Mar 2024 01:41:32 +0800 Organization: A noiseless patient Spider Lines: 9 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 11 Mar 2024 17:41:34 -0000 (UTC) Injection-Info: toylet.eternal-september.org; posting-host="e10f395b0563ffe3f32c382f0dc3e156"; logging-data="3936732"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191Xpoh2x97tqAgGmacCYf6" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:3hz/TvwyDeya9IyAZ8db7YUwrn0= Content-Language: en-US In-Reply-To: Bytes: 1391 On 1/3/2024 10:52 pm, Janis Papanagnou wrote: > > BEGIN { FS="] " } > { for (i=1; i<=NF; i++) > print $i > } Use of `NF` in awk command - Stack Overflow https://stackoverflow.com/questions/47216786/use-of-nf-in-awk-command