cvw/linux/testvector-generation/remove_dup.awk

21 lines
169 B
Awk
Raw Normal View History

#!/usr/bin/awk -f
BEGIN{
old = "first"
}
{
if($1 != old){
if(old != "first"){
print oldAll
}
}
old=$1
oldAll=$0
}
END{
print oldAll
}