How do I make sdiff ignore the * character?

Posted by Runcible on Server Fault See other posts from Server Fault or by Runcible
Published on 2010-04-07T17:32:31Z Indexed on 2010/04/07 17:43 UTC
Read the original article Hit count: 210

Filed under:
|

Here's what I'm sure is an easy one, but I can't figure it out.

I have two files:

file1: You are in a maze of twisty little passages, all alike
file2: You are in a maze of twisty little* passages, all alike

I want to perform sdiff on these files, but I want to ignore the * character.

How do I do this?

© Server Fault or respective owner

Related posts about regex

Related posts about diff