http://www.unix.com – Hi guys, i already search in this forum and i can't find a way to do this. I have a file like this: Code: -1 1 lig -1 1 lig -1 1 lig -1 -1 dec -1 -1 dec -1 -1 dec -1 -1 dec -1 -1 dec -1 -1 dec And i need to compare the values of columns $1 and $2 and get a output with the results of diferences combinations, for exemple if $1=1 and $2=1 output TP, if $1=1 and (HowTos)