Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: something simple (I hope)
- X-seq: zsh-users 6446
- From: Clint Adams <clint@xxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: something simple (I hope)
- Date: Mon, 4 Aug 2003 11:10:03 -0400
- In-reply-to: <20030804143351.GA14857@xxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20030804143351.GA14857@xxxxxxxxx>
> "^/var/tmp/exec\.[0-9]+$"
> into a list that I can then use in a foreach loop.
>
> How can I do that most easily?
setopt extendedglob
for i in /var/tmp/exec.[0-9]## ; do print $i ; done
Messages sorted by:
Reverse Date,
Date,
Thread,
Author