#!/bin/bash if [ `./alcc $1 2>&1 | cut -d " " -f 3 | tail -2 | head -1` = "$2" ]; then echo Equal else echo UnEqual fi