bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: /bin/cat: Argument list too long


From: Jeff Chua
Subject: Re: /bin/cat: Argument list too long
Date: Fri, 22 Oct 2004 15:20:25 +0800 (SGT)

On Fri, 22 Oct 2004, Bob Proulx wrote:

Paul Jarc wrote:

I would try that in the script and see what it prints, if you can trim
the environment enough to run.  I am guessing you will find that it is
huge.  Why would it be so big?  What information is being stored
there?  Can it be stored in a file instead?

It's data from a database and I'm using variables to store these results, and later re-display them back to the screen for different fields on the screen.

My thinking was that it'll be faster having everything in memory rather than passing to file I/O. But now that I realized that 'getconf ARG_MAX' returns only 131072 bytes (linux 2.6.9), I'll have to go with the file I/O option.

Thanks,
Jeff.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]