Convert CR to LF

crtolf

A small filter utility to convert carriage return characters (CR, \r) to line feed (LF, \n) characters without delays from buffering. Used in some versions of 0wn - Zero Work Needed to display a progress bar using the output of rsync --progress. crtolf works as a filter, reading from standard input and writing to standard output.

Download

Source of crtolf-1.0.0

Usage

crtolf version 1.0.0
copyright (C) 2006 Erik Auerswald <auerswal@unix-ag.uni-kl.de>
distributed under the GPL v2 or later

usage: crtolf
       crtolf -h | --help | -V | --version

       reads from stdin, writes to stdout
       converts \r to \n
    

back to my homepage.