KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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. Are there versions of diff , grep , etc. that will work correctly with all new-lines? ETA: I'd also like them to be Unix utilities, so I can use them in scripts, Emacs, etc...
Tags (comma-separated)
Save Edits
Cancel