Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Eric Blake 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: 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 , 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:14825 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