These two scripts should be enough to do what's needed:

; cat /bin/xargs
#!/bin/rc
# xargs cmd [arg ...] - emulate Unix xargs
#       only needed for arg lists longer than TSTKSIZ*BY2PG
#       (100*4096 = 400K on typical PC kernels).
rfork ne
ramfs
split -n 500 -f /tmp/x
for (f in /tmp/x*)
        $* `{cat $f}

; cat /bin/files
#!/bin/rc
# files [dir...] - enumerate files below dir(s)
du -a $* | sed 's/^[^    ]+[     ]+//' | sort -u

Can we stop now?


Reply via email to