grep -v 'sno=;' tail' | grep -v 'head->head' >outfile