summaryrefslogtreecommitdiff
path: root/parse-chapter.sed
blob: 614d2cf2daa5c2905d049c0f13aea2a16433296c (plain)
1
2
3
4
#!/bin/sed -nf

/>&[gl]t;<\/a>/d
s:^.*href="\(.*lesen/stelle/[0-9][0-9]*/[0-9][0-9]*/[0-9][0-9]*/ch/[^"]*\)">\([^<]*\)</a>.*$:\1\n\2:p