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!

Randy

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
program as:

   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.

--
Rick DeNatale

Visit the Project Mercury Wiki Site
http://www.mercuryspacecraft.com/

--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to