Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Standard 'filtering' mechanism?
- X-seq: zsh-users 14835
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Standard 'filtering' mechanism?
- Date: Sun, 14 Feb 2010 21:02:18 +0000
- In-reply-to: Message from Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> of "Sun, 14 Feb 2010 20:54:59 GMT." <201002142055.o1EKsxfr003143@xxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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