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

2015-12-10 Thread Chet Ramey
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

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

2015-12-09 Thread Mingye Wang (Arthur2e5)
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. Steps to Reproduce: Run the following segment: