|
From: | Peng Yu |
Subject: | [bug-gawk] Count empty line as a column with one empty field |
Date: | Tue, 25 Sep 2018 09:33:06 -0500 |
Hi, I see this. $ printf '%s\n' a '' b | awk -e '{print NF}' 1 0 1 Is it possible to consider the empty line to contain one empty field instead of no fields? -- Regards, Peng
[Prev in Thread] | Current Thread | [Next in Thread] |