mud++0.26/etc/
mud++0.26/etc/guilds/
mud++0.26/log/
mud++0.26/mudC/
mud++0.26/player/
mud++0.26/src/unix/
#!/usr/local/bin/perl
# Do global case lowering for John Olson's patches ;)
# Should get everything, if not add to it.
#
# Ex:  fixpatch < patch.orig > patch.fixed
#
# -Fusion

while( $line = <STDIN> ) {
	while( $line =~
			/[_0-9A-Z]+(\.CC|\.H|\.ARE)|\/ETC|\/SRC|\/AREA|\/HELP|\/DOC/g )
	{
		$pos = index( $line, $& );
		$lower = lc( $& );
		substr( $line, $pos ) = $lower;
	}
	print( $line );
}