LineBreakTool - convert linebreaks of text files
With this script you can check if a text file is of a specific type and convert it to a different type.
Special feature is the ability of fixing files that were broken by wrong ftp upload and download mode (ascii/bin).
Supported file types are dos, mac, unix and broken.
It also runs under DOS.
linebreaktool.pl [-t|--test] [-v|--verbose] <filename> [<type>]
linebreaktool.pl (-c|--convert) [-v|--verbose] <filename> [<from>] <to>
If <type> is given it prints if the type of the file matches <type>.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
This program is distributed under the terms of the GNU General Public License.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Copyright 2001 Sven Kleese, Hamburg (Germany)
$Date: 2001/11/01 14:23:00 $ $Revision: 188.8.131.52 $