Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
something simple (I hope)
- X-seq: zsh-users 6434
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: something simple (I hope)
- Date: Mon, 4 Aug 2003 16:33:51 +0200
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: KasCada Gbr
I want to put all files that match the regex pattern
"^/var/tmp/exec\.[0-9]+$"
into a list that I can then use in a foreach loop.
How can I do that most easily?
Thanks a lot,
Andy.
--
http://peru.spiegl.de Our project
http://radiomaranon.org.pe Radio Marañón, Jaén, Perú
o _ _ _
------- __o __o /\_ _ \\o (_)\__/o (_) -o)
----- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/ /\\
---- (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_ _\_v
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Today a usual technique is to make a program and then to test it. But: program
testing can be a very effective way to show the presence of bugs, but it is
hopelessly inadequate for showing their absence.
(Edsger Wybe Dijkstra, The Humble Programmer)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author