Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: suggestion for new condition
- X-seq: zsh-workers 5030
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: suggestion for new condition
- Date: Tue, 26 Jan 1999 10:23:04 -0800
- In-reply-to: <199901261547.QAA19696@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <199901261547.QAA19696@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Jan 26, 4:47pm, Sven Wischnowsky wrote:
} Subject: Re: PATCH: suggestion for new condition
}
} The patch below implements the `(t)' flag. `${(t)param}' will expand
} to a string describing the type of parameter. When param is unset, it
} will expand to `-'
Why? Why not have it expand to nothing? In any case "-" is a bad choice,
because in certain contexts it could be misinterpreted as an option.
Otherwise I think ${(t)param} is a useful addition.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author