Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: param expansion flags
- X-seq: zsh-users 8788
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: param expansion flags
- Date: Fri, 06 May 2005 16:11:09 +0000
- In-reply-to: <20050506124817.GA81248@xxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050506124817.GA81248@xxxxxxxxxxxxxxxxxxxx>
On May 6, 1:48pm, Dominic Mitchell wrote:
}
} Can anyone offer me some advice?
Do it in several steps and worry later (if ever) about compressing
them down to a single nested parameter expansion.
arr=( ${(f)"$(rake -sT)"} )
arr=( ${arr#rake } )
arr=( ${arr/ *# /\[} )
arr=( ${^arr}\] )
Messages sorted by:
Reverse Date,
Date,
Thread,
Author