Re: [CODE-SUBMISSION] Stripper utility

From: Steve (
Date: 09/19/96

On Thu, 19 Sep 1996, Rasmus 'Con' Ronlev wrote:

> I just wanted to say, that I just finnished making a neat little utility
> program (which seems bugless), that will strip ANY file for all those ^M's
> (\r's). I made it because some of my mud's players were repporting some
> wierd sceenoutput with spaces all over the screen. Generally a f*cked up
> output. After a little investigation I found that the crappy output was
> caused by ^M's (\r's in C) probably from someone editing the worldfiles in
> DOS and then transfering them to the Unix/Linux box in some wierd way.
> Anywayz, If anyone wants it, just bug me :) At some point it will probably
> be put on my webpage, but it's undergoing serious development at the time
> beeing, so don't expect it there if you look :=P Simply mail me, and
> you'll get a copy of it (the .c file ofcoz (compiles nicly as a
> mud-util)).

This already exists, its called dos2unix (to strip \r from \n) and unix2dos
to add (\r to \n)

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST