Mercurial > hg > toybox
view wrappers/unix2dos @ 560:979c5ab6f0c2
Replace ?: gcc extension with standard code
author | Kevin Chase <kevincha99@hotmail.com> |
---|---|
date | Sat, 07 Apr 2012 10:15:52 -0700 |
parents | 7da386057101 |
children |
line wrap: on
line source
#!/bin/sh #HELP usage: unix2dos [FILE...]\n\nAdd DOS newlines [ $# -ne 0 ] && DASH_I=-i sed $DASH_I -e 's/$/\r/' "$@"