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:
Brian S. Stephan 2025-04-04 08:24:39 -05:00
parent ec8bf0c2f3
commit 61af604f75
Signed by: bss
GPG Key ID: 3DE06D3180895FCB
2 changed files with 1713 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View 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