Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: nit pick
2020-12-28 06:47:10 -0800, Ray Andrews:
> This is as trivial an issue as one could imagine:
[...]
To paraphrase Bart,
> typeset -a test1=(\
> "foo"
> "bar"
> "baz")
> }
That's
typeset -a test1=( "foo"
"bar"
"baz")
> typeset -a test1=\
> ("foo"
> "bar"
> "baz")
[...]
That's
typeset -a test1= ("foo"
"bar"
"baz")
The \<newline> sequence is a "line-continuation". It is
*removed*.
Note that you can also do:
typeset -a test1=(
foo
bar
baz
)
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author