Mercurial > hg > toybox
view wrappers/dos2unix @ 542:06763d1a2f9d
Tighten up the code a bit, and use actual process group id instead of what /etc/passwd says.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 12 Mar 2012 20:56:56 -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$//' "$@"