X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=tools%2Funix2dos;fp=tools%2Funix2dos;h=0000000000000000000000000000000000000000;hp=3c171e55dc219d028fd6b6a7c85d6b21702934bb;hb=0b8dbc2d02c7f78d273ad9cfdf05c927c648ffd1;hpb=6c47a7028f7c72fabc40f417aa41111c28de8a84 diff --git a/tools/unix2dos b/tools/unix2dos deleted file mode 100755 index 3c171e5..0000000 --- a/tools/unix2dos +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# An implementation of unix2dos using sed. -# Written by Charles McGarvey; released into the public domain. - -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 -