[m-dev.] dos2unix

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Nov 20 23:08:29 AEDT 2002

On 20-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> On the IL backend the output of the tests are in dos format while the
> expected output of the tests are in Unix format.  I solve this by piping the
> output through dos2unix before saving it to a file.
> Does anyone have objections to this solution or a better way to solve this
> problem?

The right solution is to do `cvs checkout tests' on a Cygwin file
system which has been mounted in text mode.  Then the *.exp files will
be in DOS format.

	mkdir /cygdrive/c/textmode
	mkdir /textmode
	mount --text 'C:\textmode' /textmode
	cd /textmode
	cvs checkout tests

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au

More information about the developers mailing list