/^@/ { last_line=$0; line_to_print=true }/^[^@]/ { if ( line_to_print == true ) print last_line; print $0; line_to_print=false }END { if ( line_to_print == true ) print last_line }
abc @abc @def 333 @asd @poi @789
abc @def 333 @789
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!