This commit is contained in:
Miloslav Ciz 2024-02-24 19:26:17 +01:00
parent 940ac8279b
commit 280aba9025
8 changed files with 1710 additions and 1675 deletions

View file

@ -1,5 +1,5 @@
#!/bin/sh
# Creates an ASXII version of the wiki.
# Creates an ASCII version of the wiki.
echo "making TXT"
@ -21,18 +21,18 @@ rm __tmp.html
echo "making single TXT"
echo "LESS RETARDED WIKI" > lrs.txt
echo "by drummyfish, released under CC0 1.0, public domain" >> lrs.txt
echo "LESS RETARDED WIKI" > lrs_wiki.txt
echo "by drummyfish, released under CC0 1.0, public domain" >> lrs_wiki.txt
for f in txt/*.txt; do
echo $f
fname=$(echo "$f" | sed "s/\.txt//g" | sed "s/txt\///g")
echo "--------------------------------------------------------------------------------" >> lrs.txt
echo "$fname:" >> lrs.txt
echo "--------------------------------------------------------------------------------" >> lrs_wiki.txt
echo "$fname:" >> lrs_wiki.txt
cat $f >> lrs.txt
cat $f >> lrs_wiki.txt
done
echo "done"