From: Valodim
Date: Fri, 10 Feb 2012 21:40:03 +0000 (+0000)
Subject: zmv beispiel ergaenzt
X-Git-Url: https://git.rohieb.name/stratum0-wiki.git/commitdiff_plain/9cf6f13c20c24ecc030be57aaebe5e9d4a5ef168
zmv beispiel ergaenzt
---
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) || evince =(curl www.irs.gov/pub/irs-pdf/fw4.pdf) || O
|-
-| zsh interactive use || echo **/*(mh-48) || !
+| zsh interactive use || echo **/*(mh-48); zmv 'artist_(<->)_(*)_releasegroup.mp3' '$1 ${(C)2:gs/_/ }.mp3' || !
|-
| zsh scripting || [[ 'something' =~ 's(ometh)ing' ]] && print $match; || +
|-