Gentoo Archives: gentoo-user

From: pat <pat@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] max size of bash variable value
Date: Wed, 30 Nov 2011 13:55:49
Message-Id: 20111130135349.M72187@xvalheru.org
In Reply to: Re: [gentoo-user] [OT] max size of bash variable value by Michael Schreckenbauer
1 On Wed, 30 Nov 2011 14:18:35 +0100, Michael Schreckenbauer wrote
2 > Am Mittwoch, 30. November 2011, 13:19:56 schrieb pat:
3 > > Hi all,
4 > >
5 > > Sorry for this off topic post, but I've been asked how/where to find maximum
6 > > size of bash variable value. I've search and found 4M, 1k, 4k ... . But
7 > > didn't found how/where this limit is set. I know, that for C it's e.g.
8 > > sizeof(int), but for bash?
9 >
10 > afaik you can query that value with
11 > getconf ARG_MAX
12 > How to set it, I have no idea.
13 >
14 > > Thanks for help
15 > > Pat
16 >
17 > Best,
18 > Michael
19
20 Thanks a lot that's exactly they looking for ... I hope :-)
21
22 Thanks
23
24 Pat
25
26 ----------------------------------------
27 Freehosting PIPNI - http://www.pipni.cz/