Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Title Case a Textified String
- X-seq: zsh-users 14915
- From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
- To: zzapper <david@xxxxxxxxxx>
- Subject: Re: Title Case a Textified String
- Date: Thu, 11 Mar 2010 14:36:22 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=FlhK0wNcz0wByNSRjmZTm3vTrJAeJg6SVAnmWoar1FM=; b=ObvvsYJmIbEy9qL9GZ87lTDrqgESDb1OCGmOw7W+qjIX1t+9nMVHGDG146Hw0KSCxe C4YzP6pFSfd2wx79qH/Lh6B8HPh6r9fP6PJyERjJOHVgtIhPU0n2KfbdEnVXITUIvV5A Sh1Wm4ASqTpPdJ1sqViOSc9Ek/wYlvIGwCYy0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=AbX9RojLvoJLqELYPMldSHjQC/8zIvcGwYI8/mvWHX87+NzdH2nqjZRBTvauQpd1UZ AXNoW3/rgbrut1j4tBD3K62cUcvH7N70Vpx6ncqtDeX2x2+jzxkHnnJeNVfO7JnSJyqf eX+4C9cu55vTFNEya9ilS1eiFGzqJEt5iuCIs=
- In-reply-to: <Xns9D38815866DD0zzappergmailcom@xxxxxxxxxxxx>
- 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
- References: <Xns9D38815866DD0zzappergmailcom@xxxxxxxxxxxx>
On 11/03/2010 13.43, zzapper wrote:
Hi
I want to convert a textified string to a Title Case Phrase
eg
fred-goat-dog.jpg to Fred Goat Dog
% print ${${(Cs:-:):-fred-goat-dog.jpg}%.*}
Fred Goat Dog
Regards
Dimitre
Messages sorted by:
Reverse Date,
Date,
Thread,
Author