view wrappers/unix2dos @ 578:5cc8a8fc08b4

First pass at a complete rewrite of string_to_mode(). (It compiled!)
author Rob Landley <rob@landley.net>
date Wed, 16 May 2012 21:11:43 -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/' "$@"