juergenpf / dtou

Dos<->Unix CRLF conversion and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the DOS<->Unix line-ending conversion script I'm using since decades now.

Nowadays DOS means actually Windows. I just recently was plagued not only by the CRLF issue, but also by the fact, that in the Unicode world of Windows more and more plain text files actually also have a BOM header (Byte Order Marker). Not all tools on Unix understand that. So I tweaked the scripts to remove also BOM headers when converting from Windows to Unix.

To install the scripts on Unix, just clone the repository and call

sudo install.sh

This will by default install the tools in /usr/local/bin and the manpage in /usr/local/man/man1

About

Dos<->Unix CRLF conversion and more

License:Other


Languages

Language:Groff 51.9%Language:Shell 48.1%