|
From: | Ed Morton |
Subject: | [bug-gawk] -i infile unexpected behavior |
Date: | Sun, 15 Mar 2015 11:19:16 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
I don't believe this is the way `-i infile`
(http://www.gnu.org/software/gawk/manual/gawk.html#Extension-Sample-Inplace)
should work:$ cat fileI expected "bar" to get written to "file" in both the `END` and `ENDFILE` conditions, not printed to stdout. I'm on cygwin: $ gawk --versionRegards, Ed. |
[Prev in Thread] | Current Thread | [Next in Thread] |