Update
This commit is contained in:
parent
940ac8279b
commit
280aba9025
8 changed files with 1710 additions and 1675 deletions
12
make_txt.sh
12
make_txt.sh
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue