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