[TriLUG] Limit to command line arguments?
rpbarlow at eos.ncsu.edu
Sat Oct 22 14:10:32 EDT 2005
I looked at xargs, and you are right. I really do need to discritize
~350 CAD files all at once, not in several runs. I will try and see if
the command shell can handle 350 arguments. Some say it can and others
say it can't. But I do have the option of reading an input file if
necessary, so no worries, just more coding! Thanks for all the helpful
and informative responses, TriLUG is awesome!
Rick DeNatale wrote:
> I don't think that xargs will help in this case. It really helps if
>the program getting the arguments treats all of the arguments in the
>same way and it doesn't matter if you process the arguments in
>chunks. However, in a follow up to a question the OP described his
> It's a program that takes .STL CAD files as input as discritizes the
> solids in 3D space.
>Which sounds to me as though it needs ALL of the arguments at once, or
>at the very least the arguments would need to be chunked intelligently
>so that the arguments related to a particular solid don't get split
>between two invocations. Unless we're talking about 300 cad files, in
>which case I'll do my Emily Latella impression. <G>
>It seems to me that the original question is one of those which needs
>to be "unasked" (does anyone still read "Zen and the Art of Motorcycle
>Maintenance" anymore?). That much data really should be fed to the
>program either via a file or stdin.
>Visit the Project Mercury Wiki Site
More information about the TriLUG