Illegal instruction(coredump)

Hi

I am trying to execute a simple grep command looking for records in a filename that start with 01 (grep ^01 filename) and am getting the error Illegal instruction(coredump). Has anyone any idea why this happens? Is it due to the file being corrupted?

Thanks

It turns out that in this case the error is due to corruption within a file