Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


diff | 10 comments | Create New Account
Click here to return to the 'diff' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
diff
Authored by: sjk on Nov 29, '05 12:50:18PM
I wish diff (and several other Unix utilities) were smarter with traditional Mac-style newline translation, e.g. using a built-in tr '\r' '\n' filter.

[ Reply to This | # ]
backslash hell
Authored by: sjk on Nov 29, '05 12:57:22PM
Add backslashes in front of the 'r' and 'n' characters, like:
tr '\r' '\n'
(if I'm lucky).

[ Reply to This | # ]