On Wednesday 31 January 2001 09:09 am, you wrote:
> and as ^M is a carriage return, theres one at the end of each line in
> theses files ... :-(
> Thanks SuSE !!!!!!! NOT !

Odd that there would be ^M carriage returns in a Unix created file, they 
are the Windows carriage return but be not dismayed.  Find your self a 
package called dos2unix.  A nifty tool I have been using for years 
(writing code in Watcom on a Win 3.1 box, kermiting the file to my AIX 
account for compiling :) and is designed to convert all the carriage 
returns to Unix standard.  Works like a charm.  Or if you have Tcl 
installed on the box, there is another slick way.  Read the file and write 
the file.  Tcl is cross platform and saves files in the "native" style, 
paths and carriage returns.  Very useful and simple.

-- 
Matthew Micene                     A host is a host from coast to coast,
Systems Development Manager        and no one will talk to a host too close
Express Search Inc.                Unless the host that isn't close 
www.ExpressSearch.com              is busy, hung or dead




Reply via email to