Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while read l; do
- myprogram $l
- if [ "$?" -eq 0 ]; then X="Succes"; else X="failure"; fi
- result="${result}\n${l}: ${X}"
- done < file.txt
- wait
- echo result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement