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

Re: Standard 'filtering' mechanism?



Peter Stephenson wrote:
>...
>   local -a texfiles nontexfiles
>   local -aU suffixes
>   texfiles=($dir/*.tex(N))
>   if (( $#texfiles )); then
>     notexfiles=(${texfiles:r}.*)
>     suffixes=(${${notexfiles:e}:#tex})
>...

(except, obviously, you need to decide between nontexfiles and
notexfiles.)

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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