From: Lorenzo B. <be...@ds...> - 2009-04-23 09:15:12
|
Greg Chicares wrote: > On 2009-02-27 18:06Z, mo...@rq... wrote: >> http://osdir.com/ml/gnu.mingw.msys/2005-08/msg00037.html > [...] >> I am very frustrated by this and can't see anything obvious in "diff >> --help" that says "ignore DOS linefeed". I am pulling source down from a >> unix-based project, trying to make changes on my windows system, and >> create diffs to submit via bugzilla back to the project. > > If there's no such option, but you want to strip carriage returns: > tr --delete '\r' is tr a standard program? I mean can its presence be assumed, or should it be checked for? thanks in advance Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net |