blob: 81f2867914aba852388dcc4fe95dc23547d99ffd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# Convert lexicon.dict.txt to better markdown
cp lexicon.dict.txt lexicon.temp
sed "s/=/##/g" lexicon.temp > lexicon.tmp
mv lexicon.tmp lexicon.temp
sed "s/#*$//g" lexicon.temp > lexicon.tmp
mv lexicon.tmp lexicon.temp
sed "s/:/**/g" lexicon.temp > lexicon.tmp
mv lexicon.tmp lexicon.temp
{ cat lexicon.template.md ; cat lexicon.temp; } > lexicon.md;
rm lexicon.temp
|