Mercurial > hg > toybox
view wrappers/dos2unix @ 589:7013fd450ff4
Changed my mind about the design again, now callback is dirtree_opennode() and recursion choice is how caller interprets flags.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 01 Jun 2012 20:27:51 -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$//' "$@"