replace non-breaking space characters with spaces
this is a formatting/publishing artifact that we don't need in the Markdown, and the existence of those characters is throwing off some other scripts Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
2e80f6e111
commit
50fd495b2c
4
Makefile
4
Makefile
@ -9,10 +9,10 @@ all: base-patches
|
||||
|
||||
base-patches: $(MD_CSRD)
|
||||
cp -a $(MD_CSRD) $(CCSRD)
|
||||
find patches/base -type f -name *.patch -exec echo ">> {}" \; -exec patch $(CCSRD) {} \;
|
||||
find patches/base -type f -name \*.patch -exec echo ">> {}" \; -exec patch $(CCSRD) {} \;
|
||||
|
||||
web: base-patches
|
||||
find patches/web -type f -name *.patch -exec echo ">> {}" \; -exec patch $(CCSRD) {} \;
|
||||
find patches/web -type f -name \*.patch -exec echo ">> {}" \; -exec patch $(CCSRD) {} \;
|
||||
cp -a $(WEBDIR) $(TMPDIR)/
|
||||
mkdir -p $(PAGESDIR)
|
||||
cp $(CCSRD) $(PAGESDIR)/index.md
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
--- _tmp/ccsrd.md 2025-04-04 09:21:42.885587686 -0500
|
||||
+++ _tmp/ccsrd.new.md 2025-04-04 10:06:00.001364856 -0500
|
||||
--- _tmp/ccsrd.md 2025-04-04 13:18:16.704716294 -0500
|
||||
+++ _tmp/ccsrd.new.md 2025-04-04 13:18:51.822929454 -0500
|
||||
@@ -1,8 +1,8 @@
|
||||
-COMMONS CYPHER SYSTEM REFERENCE DOCUMENT v0.0.1
|
||||
+# COMMONS CYPHER SYSTEM REFERENCE DOCUMENT v0.0.1
|
||||
|
@ -4,4 +4,6 @@
|
||||
# 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
|
||||
# Also convert some non-breaking spaces and that kind of thing in there randomly.
|
||||
sed -E 's/\xc2\xa0/ /g' _tmp/ccsrd.md > _tmp/ccsrd.new.md
|
||||
sed -E 's/\s+$//' -i _tmp/ccsrd.new.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user