]> git.lizzy.rs Git - plan9front.git/commitdiff
fixed xargs
authoraiju <aiju@phicode.de>
Mon, 16 May 2011 22:16:56 +0000 (22:16 +0000)
committeraiju <aiju@phicode.de>
Mon, 16 May 2011 22:16:56 +0000 (22:16 +0000)
rc/bin/xargs

index 0387f27121d02e98a02ec71473e538aa23a17f12..4255b34403252c6f41f3d603eb22d0d7b0e269df 100755 (executable)
@@ -19,3 +19,5 @@ while(~ $1 -*) {
 }
 while(x = `{read -n $nargs})
        $* $x
+if(! ~ $#x 0)
+       $* $x