Look! An xargs!! (Re: recursive grep)

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Sep 7 15:05:02 AEST 1989


In article <2404 at wyse.wyse.com> bob at wyse.UUCP (Bob McGowen Wyse Technology Training) writes:
->Yet another non-solution.  This one does not handle the problem where the
->list of arguments exceeds the maximum length (usually 5120 bytes). 
-	if [ `echo $args|wc -c` -gt 3000 ]
-	then
-	    $* $args
-	fi

Worse and worse.  Now it does nothing at all when there are a lot of
arguments (which is usually the case for "xargs"!).



More information about the Comp.unix.wizards mailing list