view wrappers/unix2dos @ 589:7013fd450ff4

Changed my mind about the design again, now callback is dirtree_opennode() and recursion choice is how caller interprets flags.
author Rob Landley <rob@landley.net>
date Fri, 01 Jun 2012 20:27:51 -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/' "$@"