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

$^=var and leading/trailing blanks



$ a='  a b '
$ print -l +$^=a
+
+a
+b
+
$ print -l "${(@)^=a}"

a
b

$ print -l +${^${=a}}
+a
+b

Why the extra first and last element the the first two commands?

-- 
Stephane



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