Mercurial > hg > toybox
view wrappers/dos2unix @ 550:b2194045c40e
Remove "feature test macros", replace non-portable fdprintf() with standard fprintf().
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 19 Mar 2012 19:19:21 -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$//' "$@"