bug-make
[Top][All Lists]
Advanced

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

Re: [bug #41246] Allow to switch shell batch mode at runtime instead of


From: David Boyce
Subject: Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time
Date: Sat, 18 Jan 2014 17:40:17 -0500

On Sat, Jan 18, 2014 at 4:17 PM, Paul D. Smith <address@hidden> wrote:
> There are limits to the size of command lines that can be invoked.  On newer 
> systems
> like Linux that limit is pretty large (I think it's 16K or so on Linux) but it
> exists, and on other systems it's much less.

It's actually quite a bit bigger than that. On RHEL6 (2.6.32 kernel),
"getconf ARG_MAX" reports 2621440. This, minus the size of the current
environment, is the number of bytes available for command lines. It's
conceivable that bash imposes its own limit due to fixed buffer sizes;
I haven't checked.

David



reply via email to

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