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

Re: Inconsistencies in "-quoting and @-splitting, could someone elaborate?



On Mon, 29 Oct 2018 at 16:24, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Oct 29, 2018 at 2:11 AM Sebastian Gniazdowski
> <sgniazdowski@xxxxxxxxx> wrote:
> >
> > Ok, with those clear pointers a new whole-picture can be constructed:
> > - @ - keep array form
> > - A - apply array form
>
> Yes, much better.  The other effect of (@) is that, in double quotes,
> the array elements become individually/separately quoted, similar to
> the difference between "$*" and "$@".

I've rephrased the Zsh Native Scripting Handbook, its section about @.
Maybe you could have a brief look, about the correctness of the
statements?

http://zdharma.org/Zsh-100-Commits-Club/Zsh-Native-Scripting-Handbook.html#at-sign-about-keeping-array-form

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org



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