From 00164de3bc60ad362d97631d4b5dbc66b2d3c96b Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Fri, 19 May 2017 17:13:14 +0200 Subject: xe: revise logic to only read new arguments when we immediately need them This changes behavior on pipes that are written slowly, else there is a one-line delay between executions. --- tests | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests b/tests index 2e92b79..07b68e1 100755 --- a/tests +++ b/tests @@ -1,5 +1,5 @@ #!/bin/sh -printf '1..43\n' +printf '1..44\n' set -e @@ -175,6 +175,12 @@ check_output 'with ITER' '$XE -a -s "echo \$ITER" -- a b c' </dev/stderr; echo 2; } | xe echo' <