hd2u 0.5.0 (1999/11/25)

Copyright 1999,.. by Peter Hanecak <hanecak@megaloman.sk>.
All rights reserved.


Description
-----------

hd2u is Hany's Dos <-> Unix convertor.

dos2unix is filter used to convert plain texts from DOS (CR/LF) format to UNIX
format (CR) and vice versa.


Copying
-------

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.

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.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

See the COPYING file for license information.


Instalation
-----------

To install this package under a Unix derivative, read the INSTALL file.


Usage
-----

	dos2unix [--d2u|--u2d|-D|-U] [<file name> [...]]

	--d2u or -U	output will be in UNIX format
	--u2d or -D	output will be in DOS format

When no options are given then input format will be automaticaly detected
and converted to another format on output.

When no file is given, then stdin is used as input and
stdout as output.

Type 'dos2unix -h' or 'dos2unix --help' for information about usage.

Examples:

- this converts README.txt into DOS format; if README.txt is in UNIX format,
it is converted otherwise it will be unchanged:

	dos2unix --u2d README.txt

- this is obvious :) :

	cat source_in_UNIX_format.txt | dos2unix > result_in_DOS_format.txt

- this will just "copy" source.txt to unchanged_source.txt:

	cat source.txt | dos2unix | dos2unix > unchanged_source.txt


Maintainer
----------

I (the author) consider myself maintainer :) .

If you want to contact me, then send an e-mail to:

	hanecak@megaloman.com


How to contribute
-----------------

If you would like to submit a patch, send it to me <hanecak@megaloman.com>.
Please be sure to include a textual explanation of what your patch does.

The preferred format for changes is "diff -u" output. You might
generate it like this:

$ cd hd2u-work
$ [your changes]
$ make mrproper
$ cd ..
$ diff -urN hd2u-orig hd2u-work > mydiffs.patch


Distribution
------------

The primary site for release of this software is:

	http://www.megaloman.com/~hany/software/hd2u/

Mirror is located at:

	http://fornax.elf.stuba.sk/~hany/software/hd2u/
