aboutsummaryrefslogtreecommitdiffstats
path: root/test/getline.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/getline.awk')
-rw-r--r--test/getline.awk4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/getline.awk b/test/getline.awk
index fc09f789..4601ca11 100644
--- a/test/getline.awk
+++ b/test/getline.awk
@@ -26,4 +26,8 @@ BEGIN {
a = cmd | getline x
close(cmd)
print a, x
+
+ # Concatenation has higher precedence than IO.
+ "echo " "date" | getline
+ print
}