Mercurial > hg > toybox
view wrappers/dos2unix @ 585:1dcd7994abea
Add xrealpath() at suggestion of Ashish Briggers.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 01 Jun 2012 13:50:41 -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$//' "$@"