DOS-Zeilenende -> Linux-Zeilenende
Florian Lohoff
flo at rfc822.org
Wed Feb 16 16:04:04 CET 2000
On Wed, Feb 16, 2000 at 03:58:41PM +0100, Frank Simon wrote:
> Wo wir grad bei Zeichen ersetzen sind...
> Wie kann ich eine Dos-Text-Datei ins Linuxformat "konvertieren", speziell
> das Zeilenendezeichen anpassen ??
dos2unix
(flo at paradigm)~# dos2unix -h
tofrodos Ver 1.0 Converts text files between DOS and Unix formats.
Copyright (c) 1996 by Christopher S L Heng. All rights reserved.
Usage: dos2unix [options] [file...]
-a Always convert (DOS to Unix: kill all CRs;
Unix to DOS: convert all LFs to CRLFs)
-b Make backup of original file (.bak).
-d Convert DOS to Unix.
-e Abort processing files on error in any file.
-f Force: convert even if file is not writeable.
-h Display help on usage and quit.
-o Overwrite original file (no backup).
-u Convert Unix to DOS.
-v Verbose.
-V Show version and quit.
Flo
--
Florian Lohoff flo at rfc822.org +49-5241-470566
"Technology is a constant battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."
More information about the Linux
mailing list