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 `-'

Path csiph.com!au2pb.net!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!usenet.stanford.edu!not-for-mail
From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: [PATCH] `alias' reusable form breaks with alias NAMES starting with `-'
Date Thu, 10 Dec 2015 17:44:17 -0800
Organization ITS, Case Western Reserve University
Lines 16
Approved bug-bash@gnu.org
Message-ID <mailman.1823.1449798265.31583.bug-bash@gnu.org> (permalink)
References <5668FB68.1080304@gmail.com>
Reply-To chet.ramey@case.edu
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1449798266 6512 208.118.235.17 (11 Dec 2015 01:44:26 GMT)
X-Complaints-To action@cs.stanford.edu
Cc chet.ramey@case.edu
To "Mingye Wang (Arthur2e5)" <arthur200126@gmail.com>, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
In-Reply-To <5668FB68.1080304@gmail.com>
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020206.566A2A72.01B9,ss=1,re=0.000,fgs=0, ip=64.134.128.92, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id ea63bdfebfbfa1f4467a16d215fca3ea
X-Junkmail-Whitelist YES (by domain whitelist at mpv1-2015.case.edu)
X-Mirapoint-Virus-RAPID-Raw score=unknown(0), refid=str=0001.0A020203.566A2A73.0104,ss=1,re=0.000,fgs=0, ip=64.134.128.92, so=2015-08-12 04:07:17, dmn=2011-05-27 18:58:46
X-Mirapoint-Loop-Id b6dc1e06c332f71e6b6c1c3f245bd4b2
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy]
X-Received-From 129.22.103.226
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.14
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:11981

Show key headers only | 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 | Unroll thread


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