diff options
Diffstat (limited to 'SuckItFos')
| -rwxr-xr-x | SuckItFos | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -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 \ |
