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

Re: print built-in doesn't print this.



On Sun, Nov 14, 2021 at 11:33 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> print has standard option syntax, so you need to terminate
> lists of options (even if they're empty) with "--".

True statement but I think something else is going on here.

% set "--------" a b c
% print $argv
a b c

Zsh's generic option parser is consuming any number of consecutive
hyphens as "--".  That's probably not right.




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