From fd607d14bbffcb5b1e8238393f47903f564d1877 Mon Sep 17 00:00:00 2001 From: Sjon Hortensius Date: Sun, 11 Jan 2015 16:40:42 +0100 Subject: configured gitignore for eclipse, add clean.sh --- .gitignore | 5 +++++ clean.sh | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 clean.sh diff --git a/.gitignore b/.gitignore index 2b2fe03..da3e8da 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,8 @@ _notes/ # Ignore Vim swap files .*.swp +upload.sh +# eclipse +.buildpath +.project +.settings/ diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000..3f4e922 --- /dev/null +++ b/clean.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +sed -i -e 's/> ]+listhdrr[^>]+>//g' \ + -e 's/]*>//g' \ + -e 's/<\(table\|td\|span\|div\)[^>]\+>/<\1>/g' \ + -e 's///g' \ + -e 's///g' \ + -e 's//?>/g' \ + -e 's/