bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing Bash Variable Confusion


From: Chris F.A. Johnson
Subject: Re: Preventing Bash Variable Confusion
Date: Wed, 29 Jan 2020 09:37:23 -0500 (EST)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

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                         <http://cfajohnson.com/>
   =========================== Author: ===============================
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
   Pro Bash Programming: Scripting the GNU/Linux shell (2009, Apress)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]