Gentoo Archives: gentoo-user

From: Michael Schreckenbauer <grimlog@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] max size of bash variable value
Date: Wed, 30 Nov 2011 13:19:59
Message-Id: 5587415.lY6vWiLjW7@pc
In Reply to: [gentoo-user] [OT] max size of bash variable value by pat
1 Am Mittwoch, 30. November 2011, 13:19:56 schrieb pat:
2 > Hi all,
3 >
4 > Sorry for this off topic post, but I've been asked how/where to find maximum
5 > size of bash variable value. I've search and found 4M, 1k, 4k ... . But
6 > didn't found how/where this limit is set. I know, that for C it's e.g.
7 > sizeof(int), but for bash?
8
9 afaik you can query that value with
10 getconf ARG_MAX
11 How to set it, I have no idea.
12
13 > Thanks for help
14 > Pat
15
16 Best,
17 Michael

Replies

Subject Author
Re: [gentoo-user] [OT] max size of bash variable value pat <pat@××××××××.org>