Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Regression: $~i is no expanded if $i contains dash
- X-seq: zsh-workers 39948
- From: Daniel Hahler <genml+zsh-workers@xxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Regression: $~i is no expanded if $i contains dash
- Date: Tue, 15 Nov 2016 14:26:37 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thequod.de; h= content-type:content-type:mime-version:user-agent:date:date :message-id:subject:subject:from:from:received:received; s= postfix2; t=1479216403; bh=MgEY1VnGp50I5nvuxEHAOc4RnnhUQmUJ37RCR wkdyts=; b=QaRN4fkFJcVX3RaZV3DHjSCH1wPr83QVBZQvKg4UfKrHckFbB67nQ tmyLsiYck//bcV/CGW4aMe7799jZC/EBDioTcVCvrxvQsH0d73WJipCS3zzTFCaK Hx2/FyQLZyZwZ9suEtdVkgZ2APMcfk9rMY6RlFGvSuo5nm0jV6wUFI=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Test case:
> hash -d t-t=/tmp; i="~t-t"; echo $~i; echo ~t-t
~t-t
/tmp
It works fine in 5.2, and regressed in ad16356:
Author: Peter Stephenson
Date: Tue Jan 19 17:24:12 2016 +0000
37689: ! and ^ need to be tokenised in character sets
Cheers,
Daniel.
Attachment:
signature.asc
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author