Lennart Borgman wrote: > I think it would be very nice if patch.exe could be made to handle > different line endings in a transparent way. After all patch.exe is in > those cases used to handle lines and any human can see what has to be > done. Why should not patch.exe do the right thing then? > > I would suppose that would mean that the output file should have the > same line ending style as the file beeing patched. Apart from that line > endings should not matter IMO.
Agreed, but I'm wondering how many Windows developers use patch. When I see instructions of the form "load file foo in Notepad, replace hex string A with hex string B, delete line C, save" instead of a patch file, you wonder if there are cultural assumptions that patch is primarily a Unix tool. (See the post titled "how to make service pack 5 install on vista beta 2 without another pc!" at https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=429752&SiteID=1 for a live example.) Still this a GnuWin32 list, and I'd hope that by definition all Gnu/Win32 tools would be able to accept multiple line-end formats, and be both smart and configurable as to which kind of line-end format they should generate. - Eric ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users