summaryrefslogtreecommitdiff
path: root/rc
diff options
context:
space:
mode:
Diffstat (limited to 'rc')
-rwxr-xr-xrc/bin/xargs23
1 files changed, 0 insertions, 23 deletions
diff --git a/rc/bin/xargs b/rc/bin/xargs
deleted file mode 100755
index 4255b3440..000000000
--- a/rc/bin/xargs
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/rc
-fn usage {
- echo usage: $0 [-n num] program [arguments]
- exit usage
-}
-rfork e
-ifs='
-'
-nargs=1
-while(~ $1 -*) {
- switch($1) {
- case -n
- nargs=$2
- shift 2
- case *
- echo bla
- usage
- }
-}
-while(x = `{read -n $nargs})
- $* $x
-if(! ~ $#x 0)
- $* $x