Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
summary of ^^^ substitition
- X-seq: zsh-users 10391
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: summary of ^^^ substitition
- Date: Mon, 19 Jun 2006 09:47:26 +0000 (UTC)
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: SuccessTheory
- Sender: news <news@xxxxxxxxxxxxx>
I believe the ^^^ substitute mechanism is syntactic sugar for:-
> r old=new
The uses I know:-
^fred^joe # edit previous command replace fred by joe
^str1^str2^:u:p # replace str1 by str2 change case and just display
^fred^&& # replace fred by fredfred
Any more? and where should I look in the man pages?
There was some talk about adding a global modifier?
--
http://successtheory.com/tips/ Vim, Zsh, MySQL Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author