From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: makefile problem Date: Fri, 23 Feb 2001 22:59:45 +0000 Organization: Customer of Energis Squared Lines: 21 Message-ID: References: <9741lv$r2d$1 AT murdoch DOT acc DOT Virginia DOT EDU> <8582-Fri23Feb2001195158+0200-eliz AT is DOT elta DOT co DOT il> NNTP-Posting-Host: modem-210.tin.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newsg1.svr.pol.co.uk 982969162 31216 62.136.41.210 (23 Feb 2001 22:59:22 GMT) NNTP-Posting-Date: 23 Feb 2001 22:59:22 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Eli Zaretskii" wrote: > > dtou *.h *.c > > > > In Linux you may have a similar utlity installed, otherwise use `col' > > in a script. > > 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... This _untested_ script should give same behaviour as dtou: #!/bin/sh for f; do col < "$f" > "$f.dtou" mv "$f.dtou" "$f" done