Correcting Lion grep behaviour exception