Skip to content

Commit

Permalink
Notes on conversion to TSV
Browse files Browse the repository at this point in the history
  • Loading branch information
leod committed Mar 23, 2019
1 parent 22a8398 commit 48ef93b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions data-wiki/clean_text.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
perl -pe 'BEGIN{undef $/;} s#\{\{.*\}\}##s' \
| sed -e 's/()//g' -e 's/\*\*\([^*]*\)\*\*/_\1_/g' -e 's/\*\([^*]*\)\*/_\1_/g' -e 's/<!--[^-]*-->//g'

0 comments on commit 48ef93b

Please sign in to comment.