Path: csiph.com!3.us.feeder.erje.net!feeder.erje.net!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Mike Jonkmans Newsgroups: gnu.bash.bug Subject: Re: BASH_ALIASES assignment allow special characters Date: Mon, 28 May 2018 00:40:01 +0200 Lines: 35 Approved: bug-bash@gnu.org Message-ID: References: <20180527082057.179481284F8@sint.jonkmans.nl> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: usenet.stanford.edu 1527460811 12192 208.118.235.17 (27 May 2018 22:40:11 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org, bash@packages.debian.org To: Chet Ramey Envelope-to: bug-bash@gnu.org Content-Disposition: inline In-Reply-To: X-SourceIP: 62.163.69.112 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.3 cv=OaG28CbY c=1 sm=1 tr=0 a=ONQKbMlQgRqYTzjcV855Rg==:17 a=kj9zAlcOel0A:10 a=VUJBJC2UJ8kA:10 a=mDV3o1hIAAAA:8 a=xNf9USuDAAAA:8 a=RtTPCSVnAAAA:8 a=XFXrlDHYITYFSZO6llwA:9 a=CjuIK1q_8ugA:10 a=j4dfj54W6n8A:10 a=_FVE-zBwftR9WsbkzFJk:22 a=SEwjQc04WA-l_NiBhQ7s:22 a=CyNWaimXnoehZj38QlCX:22 none X-Ziggo-Spam-Status: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.54.42.164 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:14152 On Sun, May 27, 2018 at 01:05:59PM -0400, Chet Ramey wrote: > Date: Sun, 27 May 2018 13:05:59 -0400 > From: Chet Ramey > To: Mike Jonkmans , bug-bash@gnu.org, > bash@packages.debian.org > Cc: chet.ramey@case.edu > Subject: Re: BASH_ALIASES assignment allow special characters > Reply-To: chet.ramey@case.edu > > On 5/27/18 4:20 AM, Mike Jonkmans wrote: > > > Bash Version: 4.4 > > Patch Level: 19 > > Release Status: release > > > > Description: > > The special array BASH_ALIAS allows assignment/creation of aliases with > > special characters in it. > > Though these characters would error when used in an alias statement. > > Thanks for the report. I suppose it's better to report an error on > assignment instead of simply never allowing the alias `name' to be used. > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/ Indeed, an immediate error upon assignment is less confusing. Regards, -- Mike Jonkmans