Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14825

Re: Maximum length of variable name

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Eric Blake <eblake@redhat.com>
Newsgroups gnu.bash.bug
Subject Re: Maximum length of variable name
Date Thu, 15 Nov 2018 12:09:46 -0600
Organization Red Hat, Inc.
Lines 13
Approved bug-bash@gnu.org
Message-ID <mailman.4099.1542305395.1284.bug-bash@gnu.org> (permalink)
References <7f63f0fe-61e2-4b39-bd00-3910dba190a8@googlegroups.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1542305395 8089 208.118.235.17 (15 Nov 2018 18:09:55 GMT)
X-Complaints-To action@cs.stanford.edu
To RAL <rodrigoalveslima@gmail.com>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
In-Reply-To <7f63f0fe-61e2-4b39-bd00-3910dba190a8@googlegroups.com>
Content-Language en-US
X-Scanned-By MIMEDefang 2.79 on 10.5.11.12
X-Greylist Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Thu, 15 Nov 2018 18:09:48 +0000 (UTC)
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 209.132.183.28
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14825

Show key headers only | View raw


On 11/15/18 12:00 PM, RAL wrote:
> Hi,
> 
> How is defined the maximum number of characters a variable name can have?

Bash has no hardcoded limit, thus your maximum is dependent on how much 
free memory your system has.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

Back to gnu.bash.bug | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Maximum length of variable name RAL <rodrigoalveslima@gmail.com> - 2018-11-15 10:00 -0800
  Re: Maximum length of variable name Eric Blake <eblake@redhat.com> - 2018-11-15 12:09 -0600
  Re: Maximum length of variable name Robert Elz <kre@munnari.OZ.AU> - 2018-11-16 08:49 +0700

csiph-web