Re: How to get the default value of --max-args?

2018-11-08 Thread Bernhard Voelker
On 11/8/18 12:35 PM, Peng Yu wrote: > Thanks. But I am not getting the same results (not the same number of > echo's) as yours. I am using Mac OS X. Do you know why it is > different? > > $ xargs --show-limits < /dev/null > Your environment variables take up 7701 bytes > POSIX upper limit on argum

Re: How to get the default value of --max-args?

2018-11-08 Thread Peng Yu
On Thu, Nov 8, 2018 at 4:50 AM Bernhard Voelker wrote: > > On 11/8/18 6:50 AM, Peng Yu wrote: > > Hi, > > > > It seems that the default value for --max-args is system dependent. Is > > there a way to find out its default value? Thanks. > > Actually the limit is not a matter of the number of argume

Re: How to get the default value of --max-args?

2018-11-08 Thread Bernhard Voelker
On 11/8/18 6:50 AM, Peng Yu wrote: > Hi, > > It seems that the default value for --max-args is system dependent. Is > there a way to find out its default value? Thanks. Actually the limit is not a matter of the number of arguments but that of the resulting total command line length. >From 'man x