I always use this handy little sed script: sed 's/$/^M/' file1.txt >file2.txt Thanks, James Spinti jspinti at dartdist.com 952-368-3278 x396 fax 952-368-3255 |-----Original Message----- |From: tclug-list-admin at mn-linux.org |[mailto:tclug-list-admin at mn-linux.org]On Behalf Of Perry Hoekstra |Sent: Tuesday, June 26, 2001 4:28 PM |To: tclug-list at mn-linux.org |Subject: [TCLUG] Converting DOS files | | |Greet the sun all: | |Is there an easy way to convert an ASCII file from [dos] to Linux. I |retrieved some JSPs from my W2K side and when I attempt to run them in |BEA, I get some spurious errors. If I bring them up in vi, I get the |little [dos] indicator which leads me to believe that BEA is choking on |dealing with DOS EOL on Linux. I know within UltraEdit, there is a |UnixToDOS format conversion option. I could not find such an animal in |either nedit or gedit. Ideas? | |-- |Perry Hoekstra |E-Commerce Architect |Talent Software Services |perry.hoekstra at talentemail.com |_______________________________________________ |tclug-list mailing list |tclug-list at mn-linux.org |https://mailman.mn-linux.org/mailman/listinfo/tclug-list |