view wrappers/unix2dos @ 433:9e7aaecf0683

Fix sort -uc (pointer vs pointer to pointer confusion, covered by typecast).
author Rob Landley <rob@landley.net>
date Tue, 07 Feb 2012 00:31:37 -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/' "$@"