Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- code1=$(cat $1 | cut -d'=' -f2)
- code2=$(cat $2 | cut -d'=' -f2)
- for tok1 in $code1; do
- bVal=0
- for tok2 in $code2; do
- if [ $tok1 == $tok2 ]; then
- bVal=1
- echo "$tok1 == $tok2"
- done
- fi
- done
- if [ bVal == 0 ]; then
- echo "$tok1 NOT FOUND"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement