Re: [PATCH] `alias' reusable form breaks with alias NAMES starting with
From:
Chet Ramey
Subject:
Re: [PATCH] `alias' reusable form breaks with alias NAMES starting with `-'
Date:
Thu, 10 Dec 2015 17:44:17 -0800
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
On 12/9/15 8:11 PM, Mingye Wang (Arthur2e5) wrote:
> Bash Version: 4.3
> Patch Level: 42
>
> Description:
> `alias' does not `--'-ize alias items with a name starting with a `-'
> when it is invoked to print aliases in the reusable form. This causes
> `invalid option' errors when trying to reuse these output.
This was changed back in March, and the change was in bash-4.4-alpha.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/