From a0e80de5484a60fc82300d8e320134a95255d475 Mon Sep 17 00:00:00 2001 From: aiju Date: Mon, 16 May 2011 22:16:56 +0000 Subject: fixed xargs --- rc/bin/xargs | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3