Mercurial > hg > toybox
view wrappers/dos2unix @ 636:42ae383499c5
Add date -r, make -u work even when /etc/localtime set, and lots of cleanup/refactoring.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 21 Jul 2012 18:37:26 -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$//' "$@"