title: Line-end agnostic diff?
body: <p>I'm working on a Mac, with some fairly old files. Different files were created by different programs, so some of them end with \r (Mac) and some with \n (Unix). I want to be able to run commands like diff, grep, etc. on these files, but the ones that have \r  are treated as one giant line. Is there of a version of <a href="https://linux.die.net/man/1/diff" rel="nofollow noreferrer">diff</a>, <a href="https://linux.die.net/man/1/grep" rel="nofollow noreferrer">grep</a>, etc. that will work correctly with all new-lines?</p>
  
  <p>ETA: I'd also like them to be Unix utilities, so I can use them in scripts, Emacs, etc...</p>