I've done some more work on the xargs awk script.  Rather than posting it
here again, he's a tomsrtbt friendly tarball for you to d/l:

http://freeshell.org/~doug/iopener/files/xargs.tar.gz

I've made the tarball relative to the root directory, so this should work to
install it:

cd /
gzip -cd /fl/xargs.tar.gz | tar xvf -

The tarball includes a man page as well as the xargs script itself.

Bugfixes from the last version: fixed a typo- forgot a "=" sign, made -l
default to 1, made -l cap of 20000,  now ignores blank lines.  Email me
descriptions of the new bugs.

This was an interesting project.  A great way to learn the "ins and outs" of
a common unix command.  I thought I knew xargs before, but now I know much
more.

The usual caveats apply: be careful and help test the script a bit.  I was
thinking about adding the -i command, but honestly I can't think what would
be a good use for this so I'm having trouble testing it.  The -i command
would be the last of the major commands not supported by this script.

Do with it what you want.  It should easily fit inside the current tomsrtbt
if you want to rebuild and include it.

Douglas Bollinger
Mt. Holly Springs, PA

My other computer runs Linux.

Reply via email to