fixeol - Fix text file line endings for the current platform.
fixeol [file ...]
Convert one or more files created on any other platform
to have line endings appropriate for this one:
After running fixeol, dosfile.txt will contain appropriate
Fixeol reads a text file with lines terminated by newline, return,
newline/return, or return/newline and converts the file to one that has lines
terminated according to the system for which this program was compiled.
Works for Mac (MPW C and THINK C), DOS, and UNIX.
The file is fixed in place except in the case of some error, in which
case the original file is unchanged.
If no file names are given on the command line,
fixeol filters from stdin to stdout.
cat *.fasta | fixeol >AllSequences.fasta
c.f. dos2unix(1). fixeol will not clobber files by mistake.
Also fixeol is meant to be portable to systems other than Unix.
fixeol is simpler without command line options.
dos2unix has options appropriate for Unix.
Copyright (c) 1997-2004, Blossom Associates West. All Rights Reserved.
- SEE ALSO
This document was created by
using the manual pages.
Time: GMT, March 17, 2004