Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Hmm, something wrong with _multi_parts?
- X-seq: zsh-workers 9804
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Hmm, something wrong with _multi_parts?
- Date: Mon, 21 Feb 2000 08:52:57 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
The doc says:
_multi_parts SEP ARRAY
This function gets two arguments: a separator character and an
array. As usual, the ARRAY may be either the name of an array
parameter or a literal array in the form `(foo bar)' (i.e. a list
of words separated by white space in parentheses). [...]
But if I call it with "a literal array in the form `(foo bar)'" it behaves
very strangely. Stuffing the same strings into an actual array and then
using the name of that array works as I expect.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author