If you are on a solaris box you can use the dos2unix command on the
file.

Jerry



> 
> 
> > Does anyone know how to transfer the file and not get the ^M character?
> 
> Don't use MS OS in the first place?
> 
> > I know there are ways of eliminating the control character once you have
> > the file in UNIX, but it is cumbersome when you have several files.
> 
> What is cumbersome in :  
>      for f in * ; do mv $f $f~ && tr -d '\015' < $f~ > $f ; done 
> ?
> 
> (or if you're using csh:
>     foreach f ( * ) 
>             mv $f $f~ && tr -d '\015' < $f~ > $f
>     end
> ?)
> 
> 
> -- 
> __Pascal_Bourguignon__   Join the   (o_ Software patents are endangering
> ()  ASCII ribbon campaign against   //\ the computer industry all around
> /\  html email and M$ attachments.  V_/ the world http://lpf.ai.mit.edu/
> 1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/
> 

Reply via email to