view wrappers/dos2unix @ 528:878b94b32866

Comment and whitespace tweaks.
author Rob Landley <rob@landley.net>
date Tue, 06 Mar 2012 20:48:27 -0600
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$//' "$@"