diff options
author | Erich Eckner <git@eckner.net> | 2019-11-04 11:23:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-04 11:24:26 +0100 |
commit | 941e9e52859abf003d44d52f2833fae99e9422c8 (patch) | |
tree | 96ad88ff15227d9ca6529d2aa27e3ea3e1ab7716 /Konzerte/2019_12_07/fermaten-modifizieren | |
parent | 13a6f17103115b99ba7c01a2b5fe2125662343aa (diff) | |
download | Musik-941e9e52859abf003d44d52f2833fae99e9422c8.tar.xz |
Konzerte/2019_12_XX -> Konzerte/2019_12_07
Diffstat (limited to 'Konzerte/2019_12_07/fermaten-modifizieren')
-rwxr-xr-x | Konzerte/2019_12_07/fermaten-modifizieren | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Konzerte/2019_12_07/fermaten-modifizieren b/Konzerte/2019_12_07/fermaten-modifizieren new file mode 100755 index 0000000..2ac6c1c --- /dev/null +++ b/Konzerte/2019_12_07/fermaten-modifizieren @@ -0,0 +1,26 @@ +#!/bin/bash + +sed ' + /^\s*%\s*Nr. 28\s*%\s*{{{/,/}}}/ { + /meta = {/,/}/ { + /% Fermate optional/ s@\\fermata@@ + } + } + + /^\s*%\s*Nr. 33\s*%\s*{{{/,/}}}/ { + /meta = {/,/}/ { + s@\\fermata@@ + T + N + s/\n\s*\\bar/\\fermata\0/ + P + D + } + } + + /^\s*%\s*Nr. 35\s*%\s*{{{/,/}}}/ { + /meta = {/,/}/ { + /% Fermate optional/ s@\\fermata@@ + } + } +' |