{ getline tmp if ((getline tmp) !=42) { print tmp } else print $0}
10 12 88 42
88 88
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!