stripcr

EmberMUD-0.9.40/src/stripcr · 171 B

From the archive EmberMUD-0.9.40.tar.gz

Download the archive   « Back to the archive contents

#!/bin/bash

# Strips all the DOS carriage returns from all the UNIX files.

for i in $1 $2 $3 $4
do sed -e s/// $i > tmpfile.out
cat tmpfile.out > $i
rm tmpfile.out
done

Site Stats

Snippets: 1791
Codebases: 571