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

Re: Regular expression expanding and matching



Peter -

On Sun, Nov 25, 2012 at 1:57 PM, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
> To put it more broadly, arguments in [[ ... ]] get expanded in all
> the ways that make sense for generating a single word.  So file name
> generation (globbing) doesn't happen, and array substitution
> produces a single word (as if double quotes surrounded the array),
> but otherwise it works like a normal command line argument.  So the
> normal quoting rule for backslashes apply.

That is very well put - thanks for the neat summary.

  - Vin



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