On Fri, 19 Nov 2021, Robert Citek wrote:
So you want ‘NR > 1’ to be a pattern, but you have it as an action.
Your code needs to look more like this …
BEGIN { FS = ","; OFS = "," }
NR > 1 { print $1, $2, $3, $4, $5, $6, $7, $8 "chl-a", $9, "ug/l" }
Robert, That does make sense, but none of the examples I found on the Web used it like that. Each page presented the pattern as a separate line in the script. Thanks, Rich
