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


Groups > gnu.bash.bug > #11981

Re: [PATCH] `alias' reusable form breaks with alias NAMES starting with `-'

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] `alias' reusable form breaks with alias NAMES starting with `-'
Date 2015-12-10 17:44 -0800
Organization ITS, Case Western Reserve University
Message-ID <mailman.1823.1449798265.31583.bug-bash@gnu.org> (permalink)
References <5668FB68.1080304@gmail.com>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: [PATCH] `alias' reusable form breaks with alias NAMES starting with `-' Chet Ramey <chet.ramey@case.edu> - 2015-12-10 17:44 -0800

csiph-web