Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: delay argument interpretation
- X-seq: zsh-users 962
- From: Andrew Main <zefram@xxxxxxxxx>
- To: schaefer@xxxxxxxxxxxxxxxx (Bart Schaefer)
- Subject: Re: delay argument interpretation
- Date: Tue, 22 Jul 1997 09:23:27 +0100 (BST)
- Cc: lew@xxxxxxxxxxxxxxxxxx, zsh-users@xxxxxxxxxxxxxxx
- In-reply-to: <970721115258.ZM10155@xxxxxxxxxxxxxxxxxxxxxxx> from "Bart Schaefer" at Jul 21, 97 11:52:58 am
Bart Schaefer wrote:
> show () {
> show=()
> show=($~*)
> print -rc $show
> }
> alias show='noglob show'
Why? What's wrong with
function show {
show=("$@")
print -rc -- "$@"
}
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author