Mercurial > hg > toybox
view wrappers/unix2dos @ 600:58d2fd7484bd
More header fiddling: crypt.h is silly, SUSv4 requires crypt() to be prototyped in unistd.h. The fact glibc refuses to do so without a wacky #define is a glibc bug, treat it as such.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 16 Jun 2012 14:19:56 -0500 |
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/' "$@"