From: Dave Price (davep@kinaole.org)
Date: Mon Apr 02 2001 - 04:22:48 CEST
here is what works here ... for bringing stuff over from messy-dos:
you just type 'strip_cr filename'
bash-2.03$ cat `which strip_cr`
#! /bin/bash
/usr/bin/perl -i -p -e 's/\r//g' $1
aloha,
dave
denis wrote:
>
> Alfred Breull a écrit :
>
> > Basically, my problem results from writing fortran programs under
> > msdos, mulinux and openbsd, depending on the amount and type of
> > data. Unfortunately, I can't copy the source code files between
> > systems, because each of the system uses a different ascii code.
>
> ???
> What kind of ASCII code are you using?
> The difference btw MSDOS and mulinux is the end-of-line character(s), and it's
> not much difficult to convert it automatically.
>
> -- Denis.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
> For additional commands, e-mail: mulinux-help@sunsite.dk
---------------------------------------------------------------------
To unsubscribe, e-mail: mulinux-unsubscribe@sunsite.dk
For additional commands, e-mail: mulinux-help@sunsite.dk
This archive was generated by hypermail 2.1.6 : Sat Feb 08 2003 - 15:27:18 CET