I think a number of base conversions are going to be automated pieces that clean up the converted CSRD before it is suitable for further editing. whereas a lot of human changes are going to be bespoke edits of the "base" CCSRD, creating the CCSRD itself is looking like it's going to be some machine work to spruce up the Markdown, so I might as well include those scripts as well Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
8 lines
398 B
Bash
Executable File
8 lines
398 B
Bash
Executable File
#!/bin/sh
|
|
# Remove extra whitespace from the end of lines, since it throws off some further
|
|
# formatting cleanups. There's no real pattern to when this happens; I think it's
|
|
# just a copy and paste problem in the source doc, so there's no real ability to
|
|
# make further improvements --- just remove the spaces and let other things clean
|
|
# it up.
|
|
sed -E 's/\s+$//' _tmp/ccsrd.md > _tmp/ccsrd.md.new
|