bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: GNU awk ver. 3.1.6 OFS-related bug


From: Andreas Schwab
Subject: Re: GNU awk ver. 3.1.6 OFS-related bug
Date: Tue, 08 Mar 2011 19:31:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.94 (gnu/linux)

George Zarkadas <address@hidden> writes:

> Awk does not honor OFS assignments in the BEGIN block (when FS is also
> previously set), unless a statement inside the applied rule's action
> forces record reconstitution. 

Correct.  $0 is only rebuilt if a field is changed.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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