view wrappers/unix2dos @ 462:3947b397c328

Teach ln about multiple arguments.
author Rob Landley <rob@landley.net>
date Mon, 13 Feb 2012 23:43:33 -0600
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/' "$@"