Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Variable substitution Title Case



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