From: Roumen P. <bug...@ro...> - 2009-02-28 09:29:42
|
mo...@rq... wrote: > Yeah, I would have done the whitespace ignoring but I actually was trying > to diff a file that had whitespace differences (formatting the output when > --help was passed to the utility) so that didn't work out for me. > > I am using the Windows environment so of course I shun vi, vim, emacs, > pico, and most of the unixy tools in msys. I had hoped that Wordpad would > not add the extra return character, but it does in XP. Win2K it didn't. > And yeah, if I get really lazy I might try editing stuff in Notepad. May be Notepad++ ? > [SNIP] > I hope in the future you'll consider adding some option/argument to diff > to ignore the DOS-specific linefeed if the user wants to go that route. > I'd argue that it's probably a good feature to have upstream in the main > GNU diff as well, but I find that unix developers typically go out of > their way to show how much they don't care about windows-specific issues, > which is a shame. The GNU diff has an options --strip-trailing-cr. [SNIP] |