Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: golf : $~pattern:t ?
- X-seq: zsh-users 9797
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: golf : $~pattern:t ?
- Date: Thu, 22 Dec 2005 04:36:38 +0000
- In-reply-to: <43A9B774.5060400@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <43A9B774.5060400@xxxxxxxxxxxxxxxxxx>
On Dec 21, 9:13pm, Marc Chantreux wrote:
}
} files=( $~pattern )
} files=( $files:t )
Should work to do
files=( $~pattern(:t) )
That is, use :t as a glob qualifier rather than as a parameter suffix.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author