NR == 1 || $0 != previous { print } { previous = $0 }