X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=win32%2Funix2dos.sh;fp=win32%2Funix2dos.sh;h=0000000000000000000000000000000000000000;hp=c3ee7a8d336f5ef54c3a721c3fdb26198f8bf6a1;hb=cf4c819df08e2ab6c06532d8a4467fa58b2792ae;hpb=705fbbaf9a8064c034d23119e912da028af7fac7 diff --git a/win32/unix2dos.sh b/win32/unix2dos.sh deleted file mode 100755 index c3ee7a8..0000000 --- a/win32/unix2dos.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh - -# -# Yoink -# An implementation of unix2dos using sed. -# - -if [ -f "$1" ]; -then - TMPFILE="$1.$$" - sed 's/\r*$/\r/' "$1" >$TMPFILE - if [ ! "$2" ]; - then - mv -f "$TMPFILE" "$1" - else - mv -f "$TMPFILE" "$2" - fi - rm -f "$TMPFILE" -else - echo "`basename $0` infile [outfile]" - echo " convert a file from unix to dos file format" - exit 1 -fi -