stripcr

EmberMUD-0.9.40-Pre4/src/stripcr · 182 B

From the archive EmberMUD-0.9.40-Pre4.zip

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