[ale] textfiles: dos characters.

Justin Russell justin.w.russell at lmco.com
Wed Jul 5 20:12:01 EDT 2000


This script will work (I call it dos2unix):

#!/bin/ksh
ex $1 << end_here
g/^M/s///g
wq
end_here


Justin

--
-----------------------------------------------
 Justin W. Russell
 Engineer Senior, Aerodynamics/CFD
 Lockheed Martin Aeronautics Company
 86 South Cobb Drive
 Marietta, GA  30063-0685

 Tel:  (770) 494-6303
 Fax:  (770) 494-3055
-----------------------------------------------



--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list