[comp.sys.ibm.pc] XARGS

richard@calvin.spp.cornell.edu (Richard Brittain) (03/05/90)

If anyone is interested, there is an implementation of xargs currently
in comp.os.minix.  It works just fine under msdos, with the proviso that
the maximum allowable command length must be computed as 
127 - length of "%COMSPEC% /c "
I know this is a pretty trivial program to write, but I just realized that
it can be very useful paired with Rahul Dhesi's  "stuff" program ("find"
lookalike)

The above patch is left as an exercise to the reader.  You need to have
getopt() to compile it.

Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
                                    Cornell University, Ithaca, NY 14853
ARPA: richard@calvin.spp.cornell.edu	
UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard