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