Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

something simple (I hope)



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