* [gentoo-user] [OT] max size of bash variable value
@ 2011-11-30 12:19 pat
2011-11-30 13:18 ` Michael Schreckenbauer
0 siblings, 1 reply; 3+ messages in thread
From: pat @ 2011-11-30 12:19 UTC (permalink / raw
To: Gentoo
Hi all,
Sorry for this off topic post, but I've been asked how/where to find maximum
size of bash variable value. I've search and found 4M, 1k, 4k ... . But didn't
found how/where this limit is set. I know, that for C it's e.g. sizeof(int),
but for bash?
Thanks for help
Pat
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] [OT] max size of bash variable value
2011-11-30 12:19 [gentoo-user] [OT] max size of bash variable value pat
@ 2011-11-30 13:18 ` Michael Schreckenbauer
2011-11-30 13:54 ` pat
0 siblings, 1 reply; 3+ messages in thread
From: Michael Schreckenbauer @ 2011-11-30 13:18 UTC (permalink / raw
To: gentoo-user
Am Mittwoch, 30. November 2011, 13:19:56 schrieb pat:
> Hi all,
>
> Sorry for this off topic post, but I've been asked how/where to find maximum
> size of bash variable value. I've search and found 4M, 1k, 4k ... . But
> didn't found how/where this limit is set. I know, that for C it's e.g.
> sizeof(int), but for bash?
afaik you can query that value with
getconf ARG_MAX
How to set it, I have no idea.
> Thanks for help
> Pat
Best,
Michael
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] [OT] max size of bash variable value
2011-11-30 13:18 ` Michael Schreckenbauer
@ 2011-11-30 13:54 ` pat
0 siblings, 0 replies; 3+ messages in thread
From: pat @ 2011-11-30 13:54 UTC (permalink / raw
To: gentoo-user
On Wed, 30 Nov 2011 14:18:35 +0100, Michael Schreckenbauer wrote
> Am Mittwoch, 30. November 2011, 13:19:56 schrieb pat:
> > Hi all,
> >
> > Sorry for this off topic post, but I've been asked how/where to find maximum
> > size of bash variable value. I've search and found 4M, 1k, 4k ... . But
> > didn't found how/where this limit is set. I know, that for C it's e.g.
> > sizeof(int), but for bash?
>
> afaik you can query that value with
> getconf ARG_MAX
> How to set it, I have no idea.
>
> > Thanks for help
> > Pat
>
> Best,
> Michael
Thanks a lot that's exactly they looking for ... I hope :-)
Thanks
Pat
----------------------------------------
Freehosting PIPNI - http://www.pipni.cz/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-30 13:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 12:19 [gentoo-user] [OT] max size of bash variable value pat
2011-11-30 13:18 ` Michael Schreckenbauer
2011-11-30 13:54 ` pat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox