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

Re: something simple (I hope)



>  "^/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