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


Groups > gnu.bash.bug > #14152 > unrolled thread

Re: BASH_ALIASES assignment allow special characters

Started byMike Jonkmans <bashbug@jonkmans.nl>
First post2018-05-28 00:40 +0200
Last post2018-05-28 00:40 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: BASH_ALIASES assignment allow special characters Mike Jonkmans <bashbug@jonkmans.nl> - 2018-05-28 00:40 +0200

#14152 — Re: BASH_ALIASES assignment allow special characters

FromMike Jonkmans <bashbug@jonkmans.nl>
Date2018-05-28 00:40 +0200
SubjectRe: BASH_ALIASES assignment allow special characters
Message-ID<mailman.598.1527460810.1292.bug-bash@gnu.org>
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 <chet.ramey@case.edu>
> To: Mike Jonkmans <bashbug@jonkmans.nl>, 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 <bashbug@jonkmans.nl>

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web