From 9cf6f13c20c24ecc030be57aaebe5e9d4a5ef168 Mon Sep 17 00:00:00 2001 From: Valodim <Valodim@stratum0.org/mediawiki/> Date: Fri, 10 Feb 2012 21:40:03 +0000 Subject: [PATCH] zmv beispiel ergaenzt --- ZSH_Workshop.mw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZSH_Workshop.mw b/ZSH_Workshop.mw index 80396fc1c..30f7574c0 100644 --- a/ZSH_Workshop.mw +++ b/ZSH_Workshop.mw @@ -15,7 +15,7 @@ Falls tatsaechlich grosses Interesse an dem Themekomplex "shell statt KDE und gn |- | living in the shell / basics (nicht allzu zsh-spezifisch) || <tt>evince =(curl www.irs.gov/pub/irs-pdf/fw4.pdf)</tt> || O |- -| zsh interactive use || <tt>echo **/*(mh-48)</tt> || ! +| zsh interactive use || <tt>echo **/*(mh-48); zmv 'artist_(<->)_(*)_releasegroup.mp3' '$1 ${(C)2:gs/_/ }.mp3'</tt> || ! |- | zsh scripting || <tt><nowiki>[[ 'something' =~ 's(ometh)ing' ]] && print $match;</nowiki></tt> || + |- -- 2.20.1