1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh ./pidwraptest > pidwraptest.txt while read a b; do if [ "$a" = "$b" ]; then echo "FAIL: $a = $b" return 2 else echo "PASS: $a != $b" fi done < pidwraptest.txt