view wrappers/dos2unix @ 447:0cc0c0e879d1

Correct cksum parameters and clarify -N option
author Elie De Brauwer <eliedebrauwer@gmail.com>
date Sat, 11 Feb 2012 13:48:04 +0100
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$//' "$@"