Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Variable substitution Title Case
- X-seq: zsh-users 15818
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Variable substitution Title Case
- Date: Wed, 23 Feb 2011 12:16:16 +0000 (UTC)
- 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
- Organization: SuccessTheory
- References: <Xns9E95769629E82zzappergmailcom@80.91.229.10> <AANLkTikhiksgHA0vXgpq043_TmqaY4-HVciS7Qf=pQQU@mail.gmail.com>
Mikael Magnusson wrote in news:AANLkTikhiksgHA0vXgpq043_TmqaY4-
HVciS7Qf=pQQU@xxxxxxxxxxxxxx:
> On 23 February 2011 12:39, zzapper <david@xxxxxxxxxx> wrote:
>> Hi
>>
>> url='www.some.com/some_string_here'
>
> echo ${${(C)url//_/ }:t}
>
>
Thanks MM works a treat
JWTDO
--
zzapper
http://zzapper.co.uk/ Technical Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author