From: David Levine Date: Sun, 8 Dec 2013 16:29:00 +0000 (-0600) Subject: Fixed squeeze_lines() test function to be compatible with POSIX awk. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/ca717fb78c10acce62b7a81920e8e7ed8be2c053 Fixed squeeze_lines() test function to be compatible with POSIX awk. --- diff --git a/test/common.sh.in b/test/common.sh.in index b373b2f1..49e1c48e 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -128,7 +128,7 @@ check_for_hard_links () { #### Filter that squeezes blank lines, emulating GNU cat -s. squeeze_lines() { - awk '!length && e {next} {e = !length} 1' + awk '!length() && e {next} {e = !length()} 1' } #### Filter that inserts initial whitespace and converts non-breakable