summaryrefslogtreecommitdiff
path: root/Konzerte/2018_12_08/numeriere
blob: 59abb4295a8e7c99cf3f094523ac31ab34c94e33 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

include="$1"
include="${include##*/}"
include='\\seitenzahlen_'"${include%.*}"

sed '
  /\\new Staff .*<</ {
    s/$/\n'"${include}"'/
    ba
  }
  b
  :a
    $b
    N
    ba
'