view wrappers/dos2unix @ 641:94f189961631

Added tag 0.4.0 for changeset 85fc06bd63c4
author Rob Landley <rob@landley.net>
date Mon, 23 Jul 2012 23:55:34 -0500
parents 7da386057101
children
line wrap: on
line source

#!/bin/sh
#HELP usage: dos2unix [FILE...]\n\nRemove DOS newlines

[ $# -ne 0 ] && DASH_I=-i
sed $DASH_I -e 's/\r$//' "$@"