view wrappers/dos2unix @ 562:4d802d438983

Match uint64_t with PRIu64 to avoid warnings on 64 bit builds.
author Rob Landley <rob@landley.net>
date Sat, 14 Apr 2012 21:27:00 -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$//' "$@"