aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12025-01-15 10:47:41 +1000
committerdvs12025-01-15 10:47:41 +1000
commit9e6a1c43f1690e255ceb64946d70e053f1f9d663 (patch)
tree685f234a48a075de4797bd9dd547d30a59456f04
parentTODO++ (diff)
downloadnotYetAnotherWiki-9e6a1c43f1690e255ceb64946d70e053f1f9d663.zip
notYetAnotherWiki-9e6a1c43f1690e255ceb64946d70e053f1f9d663.tar.gz
notYetAnotherWiki-9e6a1c43f1690e255ceb64946d70e053f1f9d663.tar.bz2
notYetAnotherWiki-9e6a1c43f1690e255ceb64946d70e053f1f9d663.tar.xz
Clean out the beginning and end of Foswiki pages.
-rwxr-xr-xSuckItFos10
1 files changed, 5 insertions, 5 deletions
diff --git a/SuckItFos b/SuckItFos
index f21decc..0f315b0 100755
--- a/SuckItFos
+++ b/SuckItFos
@@ -30,11 +30,11 @@ do
30 ln -frs Foswiki/${base}/${file}.md combined/${base}/${file}.md 30 ln -frs Foswiki/${base}/${file}.md combined/${base}/${file}.md
31 cp Foswiki/${base}/${file}.md Foswiki/${base}/${file}.md_ORIGINAL 31 cp Foswiki/${base}/${file}.md Foswiki/${base}/${file}.md_ORIGINAL
32 32
33# csplit -ks Foswiki/${base}/${file}.md '%::: foswikiTopic%' '/::: foswikiContentFooter/' 33 csplit -ks Foswiki/${base}/${file}.md '%::: {.foswikiTopic}%' '/::: {.foswikiContentFooter}/'
34# if [ -f xx00 ]; then 34 if [ -f xx00 ]; then
35# rm Foswiki/${base}/${file}.md 35 rm Foswiki/${base}/${file}.md
36# mv xx00 Foswiki/${base}/${file}.md 36 mv xx00 Foswiki/${base}/${file}.md
37# fi 37 fi
38 38
39 # Attempt to clean things up, badly. 39 # Attempt to clean things up, badly.
40 sed -i -E Foswiki/${base}/${file}.md \ 40 sed -i -E Foswiki/${base}/${file}.md \