[TriLUG] Limit to command line arguments?

Cristobal Palmer cristobalpalmer at gmail.com
Fri Oct 21 20:31:50 EDT 2005


sounds like a job for grep and xargs

see: http://www.linuxdevcenter.com/pub/a/linux/lpt/09_21.html

-CMP

On 10/21/05, Randy Barlow <rpbarlow at ncsu.edu> wrote:
> It's a program that takes .STL CAD files as input as discritizes the
> solids in 3D space.  It's the first step in some electromagnetic
> simulations I am planning on running on some cell phone models, and it
> is a custom program.  I was thinking of using a text file as the input
> to my program instead of command line arguments if 350 parameters is too
> many.  Thanks!
>
> Randy
>
> Warren Myers wrote:
>
> >350 arguments? ouch. What kind of program are you running? Maybe there's an
> >alternative to the arguments?
> >
> >I'm not sure what the limit is under bash, but I know that under some older
> >editions of Windows, you're limited to about 100 bytes. Not sure if it's
> >different now.
> >
> --
> 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/
>


--

Cristobal M. Palmer
UNC-CH SILS Student
cristobalpalmer at gmail.com
cmpalmer at ils.unc.edu
ils.unc.edu/~cmpalmer
"Television-free since 2003"



More information about the TriLUG mailing list