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


Groups > gnu.bash.bug > #14825

Re: Maximum length of variable name

From Eric Blake <eblake@redhat.com>
Newsgroups gnu.bash.bug
Subject Re: Maximum length of variable name
Date 2018-11-15 12:09 -0600
Organization Red Hat, Inc.
Message-ID <mailman.4099.1542305395.1284.bug-bash@gnu.org> (permalink)
References <7f63f0fe-61e2-4b39-bd00-3910dba190a8@googlegroups.com>

Show all headers | 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