bug-bash
[Top][All Lists]
Advanced

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

Re: BASH_ALIASES assignment allow special characters


From: Mike Jonkmans
Subject: Re: BASH_ALIASES assignment allow special characters
Date: Mon, 28 May 2018 00:40:01 +0200

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 <address@hidden>
> To: Mike Jonkmans <address@hidden>, address@hidden,
>  address@hidden
> Cc: address@hidden
> Subject: Re: BASH_ALIASES assignment allow special characters
> Reply-To: address@hidden
> 
> 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    address@hidden    http://tiswww.cwru.edu/~chet/

Indeed, an immediate error upon assignment is less confusing.

Regards,

-- 
Mike Jonkmans <address@hidden>



reply via email to

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