From ca717fb78c10acce62b7a81920e8e7ed8be2c053 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 8 Dec 2013 10:29:00 -0600 Subject: [PATCH] Fixed squeeze_lines() test function to be compatible with POSIX awk. --- test/common.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.56.0