Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: "Chris F.A. Johnson" Newsgroups: gnu.bash.bug Subject: Re: Preventing Bash Variable Confusion Date: Wed, 29 Jan 2020 09:37:23 -0500 (EST) Lines: 13 Approved: bug-bash@gnu.org Message-ID: References: <20200128210225.GC12574@localhost4.local> <20806.1580277461@jinx.noi.kre.to> <20200129142305.GX1350@eeg.ccf.org> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: usenet.stanford.edu 1580308670 11161 209.51.188.17 (29 Jan 2020 14:37:50 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: Greg Wooledge Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpservice.net; s=m2o5g0.a1-4.dyn; x=1580309566; h=Feedback-ID: X-Smtpcorp-Track:Message-ID:Subject:To:From:Date:Reply-To:Sender: List-Unsubscribe; bh=mGOBMb/ABgLHVkSHBpaqAalLzc2Am/uhTCLl2c8hjxc=; b=PFTnWi/q c7qnalXOGOuZiYadN0G5kNcJjtG5BK7BXp/OEPSyBWYS9BOBG0Z0M1GyLIi97NK70Srk/nTNBx7lU vEOcUbHuk/6PkGEYvSzIgKQaPyczqrz+jeQLsQguKYicYp/czgOzVMiI4JwClh2vyentkO/BEVBaY lTJylRLeKmAHXMeBS49USvk3lz2eo6bO95uXsB2qKLnF7Dhg9nPdMSwCBrKYH8YHAyP5sV5HVYDfK jBO9e1ch2xLo/IHyS3uySXPUwpmjO+djrnBm8FN2AMIwTi3GQ9lm4meMwSuHsAp/eWYj2yDmkhjEy PBj7AE8Cdv6EWD01eo3eEFD9hQ==; X-X-Sender: chris@chris In-Reply-To: <20200129142305.GX1350@eeg.ccf.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) X-Smtpcorp-Track: 1iwoTE095GIImK.udiIxekqa Feedback-ID: 124612m:124612a-vpTX9:124612sMncmGVQT5 X-Report-Abuse: Please forward a copy of this message, including all headers, to X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 103.47.205.39 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <20200128210225.GC12574@localhost4.local> <20806.1580277461@jinx.noi.kre.to> <20200129142305.GX1350@eeg.ccf.org> Xref: csiph.com gnu.bash.bug:15836 On Wed, 29 Jan 2020, Greg Wooledge wrote: > As long as you use at least one lowercase letter in your variable name, > you are guaranteed not to conflict with any internal shell variables. Except for auto_resume and histchars. -- Chris F.A. Johnson =========================== Author: =============================== Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) Pro Bash Programming: Scripting the GNU/Linux shell (2009, Apress)