Date: Sat, 24 Feb 2001 10:05:09 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Jason Green Message-Id: <9003-Sat24Feb2001100509+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: (message from Jason Green on Fri, 23 Feb 2001 22:59:45 +0000) Subject: Re: makefile problem References: <9741lv$r2d$1 AT murdoch DOT acc DOT Virginia DOT EDU> <8582-Fri23Feb2001195158+0200-eliz AT is DOT elta DOT co DOT il> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Jason Green > Newsgroups: comp.os.msdos.djgpp > Date: Fri, 23 Feb 2001 22:59:45 +0000 > > > > One could simply compile dtou and utod on GNU/Linux. It's free > > software ;-). > > First obstacles would be lack of dir.h and dos.h, then these programs > rely on the implicit conversion to CRLF when reading/writing in text > mode... Get the version in the DJGPP CVS, and you'll have all those problems solved. See http://www.delorie.com/djgpp/cvs.html. > This _untested_ script should give same behaviour as dtou: > > #!/bin/sh > for f; do > col < "$f" > "$f.dtou" > mv "$f.dtou" "$f" > done This doesn't preserve files' time stamps and mod bits, while dtou does.