* Using array subscript flags with @ and *
@ 1996-06-22 22:43 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 1996-06-22 22:43 UTC (permalink / raw)
To: zsh-workers
Seems to me that this *should* work, though it doesn't:
zsh% : "$foo[(f)@]"
zsh: bad math expression: unbalanced stack
What I want to do is treat the string value of foo as an array of lines,
and quote each line as a separate "word". There's no other subscripting
construction that duplicates this effect; $foo[(f)1,(f)-1] is equivalent
to $foo[*], not $foo[@].
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.nbn.com/people/lantern
New male in /home/schaefer:
>N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-22 23:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-22 22:43 Using array subscript flags with @ and * Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).