Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
array contains "foo"
- X-seq: zsh-workers 21067
- From: Dave Yost <Dave@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: array contains "foo"
- Date: Sat, 26 Mar 2005 12:53:14 -0800
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hi.
I've beat my head against the zsh manual for an hour now, and I can't
see how to test whether
x=(foo bar)
contains foo (yes) or contains xyz (no).
Many, many more examples would be helpful--including this one!
Thanks
Dave
Messages sorted by:
Reverse Date,
Date,
Thread,
Author