Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
How to overcome the (a/b/c…)(N) pattern limitation?
- X-seq: zsh-users 24788
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: How to overcome the (a/b/c…)(N) pattern limitation?
- Date: Sat, 18 Apr 2020 14:49:01 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi
I was trying to do: ls (/tmp/somedir/gh|./gh)(N) to obtain the error
message:
zsh: bad pattern: (/tmp/somedir/gh|./gh)(N)
I think that logically these are useful, good patterns and I wonder if
there's is a way to easily obtain a working equivalent of them?
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zinit
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author