Fix cmp

@philips: I guess I should have had you write a real command line tool :-P