delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/24/03:06:26

Date: Sat, 24 Feb 2001 10:05:09 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
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: <ldqd9tg36lpmo1ij5a31csj52h268enubs@4ax.com> (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> <uq4d9tgj6dsu5oeff16v51tgip25rs8kuv AT 4ax DOT com> <8582-Fri23Feb2001195158+0200-eliz AT is DOT elta DOT co DOT il> <ldqd9tg36lpmo1ij5a31csj52h268enubs AT 4ax DOT com>
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

> From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
> 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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019