Timeline for How to remove multiple newlines at EOF?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 27, 2022 at 20:49 | comment | added | wchargin | +1. Add BEGINFILE {nlstack=""} if operating on multiple files. | |
| Jun 23, 2019 at 14:58 | comment | added | Ed Morton | Any awk that script does not work in is a badly broken awk - stop using it and get a new awk because if it can't do this then who knows what other breakage it has. | |
| Oct 16, 2018 at 20:22 | comment | added | Hauke Laging | @noname I don't even understand the question... | |
| May 9, 2014 at 5:02 | comment | added | tjmcewan | this doesn't work on OSX Mavericks using the latest available awk from Homebrew. It errors with awk: illegal statement. brew install mawk and changing the command to mawk works though. | |
| Jul 15, 2013 at 21:04 | vote | accept | Bengt | ||
| Jul 4, 2013 at 11:32 | comment | added | Hauke Laging | @OlivierDulac Indeed. When I saw the sed proposal I just thought OMG... | |
| Jul 4, 2013 at 9:37 | comment | added | Olivier Dulac | +1: awk's solutions are (almost) always elegant and readable! | |
| Jul 4, 2013 at 0:57 | review | Low quality posts | |||
| Jul 4, 2013 at 1:29 | |||||
| Jul 4, 2013 at 0:40 | history | answered | Hauke Laging | CC BY-SA 3.0 |