1#!/bin/sh 2bar="AUTHORS Makefile.am COPYING Makefile.in NEWS interface.h.in ChangeLog 3 README common.makefile.in ChangeLog.1 README.ja config.h.in ChangeLog.2 4 TODO INSTALL TiMidity-uj.ad configure INSTALL.ja TiMidity.ad 5 configure.in " 6bar="$bar `ls libarc/*|grep libarc/` `ls libunimod/*|grep libunimod/` `ls utils/*|grep utils/` 7 `ls timidity/*|grep timidity/` `ls windrv/*|grep windrv/` `ls interface/*|grep interface/` 8 `ls doc/* doc/*/* doc/*/*/*|grep doc` " 9 10 bar2=`echo $bar|perl -pe 's/(\s)(\S*\:)/$1/g' -|perl -pe 's/(\s)(\S*CVS\S*)/$1/g' -` 11 12for foo in $bar2 ; do 13 echo $foo 14 cat $foo| perl -pe 's/\n$/\r\n/g' - | perl -pe 's/\r\r\n$/\r\n/g' - >$foo.tmp 15 mv $foo.tmp $foo 16done 17