script a patch that removes terminal whitespace
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>
This commit is contained in:
parent
ec8bf0c2f3
commit
61af604f75
1706
patches/base/010-strip-terminal-whitespace.patch
Normal file
1706
patches/base/010-strip-terminal-whitespace.patch
Normal file
File diff suppressed because it is too large
Load Diff
7
scripts/base/010-strip-terminal-whitespace.sh
Executable file
7
scripts/base/010-strip-terminal-whitespace.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/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
|
Loading…
x
Reference in New Issue
Block a user