Add test.sh

This commit is contained in:
Marcel Bischoff 2015-10-25 01:18:10 +02:00
parent d4178299f4
commit 518b3540cc

10
test.sh Executable file
View File

@ -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