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

Re: A question about filename generate



hello,

# when you can, please provide a way for people who want to help
# a simple why to setup sandbox

mkdir subdir
touch subdir/file{a..c}.{tex,aux}
touch index.{tex,aux,log}

# prefered version because its result is streamed so you can
# process things on fly:

find . \! -name '*.tex' -type f

# zsh glob version: retention of all the result to build the
# print arguments list.

print -l **~*.tex(.)

regards

-- 
Marc Chantreux
Pôle CESAR (Calcul et services avancés à la recherche)
Université de Strasbourg
14 rue René Descartes,
BP 80010, 67084 STRASBOURG CEDEX
03.68.85.60.79

Attachment: signature.asc
Description: PGP signature



Messages sorted by: Reverse Date, Date, Thread, Author