From 518b3540cc52e38ddc1116cd7ed09b291d043385 Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Sun, 25 Oct 2015 01:18:10 +0200 Subject: [PATCH] Add test.sh --- test.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 test.sh diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..18a19e4 --- /dev/null +++ b/test.sh @@ -0,0 +1,10 @@ +#/bin/bash + +IFS=$'\n' +README=$(sed -n '/^```bash/,/^```/ p' < README.md | sed '/^```/ d' | sed ':a;N;$!ba;s/\&\& \\\n/\&\& /g') + +for CMD in $README +do + echo 'Testing ' $CMD + # $CMD +done