On Slackware:
fromdos(1) fromdos(1)
NAME
fromdos - convert DOS text file format to UNIX.
SYNOPSIS
fromdos < dosfile.txt > unixfile.txt
DESCRIPTION
fromdos takes a DOS text file as stdin and sends a UNIX
text file to stdout. DOS text file format separates lines
of text by two characters: CR followed by LF (hex 0d 0a).
UNIX text file format separates lines of text with a sin-
gle LF character (hex 0a). This program changes the CR LF
groups found in the input stream to LF in the output
stream.
SEE ALSO
todos(1).
May 4, 1997 1
Kelly Black
On 26 Jun 2001, at 16:27, Perry Hoekstra wrote:
> 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