summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrc/bin/xargs2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc/bin/xargs b/rc/bin/xargs
index 0387f2712..4255b3440 100755
--- a/rc/bin/xargs
+++ b/rc/bin/xargs
@@ -19,3 +19,5 @@ while(~ $1 -*) {
}
while(x = `{read -n $nargs})
$* $x
+if(! ~ $#x 0)
+ $* $x