awesome-osx-command-line/test.sh
Marcel Bischoff 518b3540cc Add test.sh
2015-10-25 01:18:10 +02:00

11 lines
189 B
Bash
Executable File

#/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