Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Another Dash vs. hyphen bug?



On Sat, Sep 5, 2020 at 7:23 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> I'm not exactly sure what should happen in this case:

A couple more oddballs, although not really unexpected given the
previously mentioned cases:

% ab=A-B
% print -r -- ${(@~s.-.):-${~ab}}
A B
% print -r -- ${(@s.-.):-${~ab}}
A-B
%




Messages sorted by: Reverse Date, Date, Thread, Author