Darwin's sed doesn't understand \+ so use * instead.
Merge pull request #559 from hildeth/fixDarwinBadMatch

Fix .bad file comparison on darwin.
Darwin's sed doesn't understand + so use * instead.
Tested on darwin and SUSE Linux.
(not reviewed)