5 lines
209 B
Bash
Executable File
5 lines
209 B
Bash
Executable File
#!/bin/bash
|
|
# either Pandoc mangled the permalinks throughout or they were done by JS in OG-CSRD,
|
|
# either way this fixes them
|
|
sed -E 's/\[\]\((.*) "Permalink"\)/ \[#\](\1)/' _tmp/ccsrd.md > _tmp/ccsrd.new.md
|