aboutsummaryrefslogtreecommitdiff
path: root/wrappers/dos2unix
blob: 9eab66449669c16554db4d6da3469f4530325b3c (plain)
1
2
3
4
5
#!/bin/sh
#HELP usage: dos2unix [FILE...]\n\nRemove DOS newlines

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