BEGIN { FS="|"} { if ( a[$1 FS $2] < $0 ) { a[$1 FS $2]=$0 } } END { for (k in a) {print gensub(" .*","",a[k])}}
A|B|02/26/2014 15:00:37 A|B|04/04/2014 12:00:37 A|B|02/01/2014 12:00:37
A|B|02/01/2014
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!