19 lines
221 B
Bash
19 lines
221 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ -z "$1" ]; then
|
||
|
echo "Error: no script supplied"
|
||
|
echo "Usage: $0 path/to/testing/script"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
while read l; do
|
||
|
if [ -z "$l" ]; then
|
||
|
continue;
|
||
|
fi;
|
||
|
|
||
|
echo "$ $l";
|
||
|
$($l);
|
||
|
|
||
|
echo -e ""
|
||
|
done < $1
|