home *** CD-ROM | disk | FTP | other *** search
- #
- # Places the comment at the top of README into all of the source files
- #
- sed -n '1,/\/$/p' README > version.txt
- foreach a ( $* )
- echo "$a"
- cp version.txt $a.new
- sed '1,/\/$/d' $a >> $a.new
- mv $a.new $a
- end
- echo "Makefile"
- sed '1,$s/^/#/' version.txt > Makefile.new
- sed '1,/^[^#]/d' Makefile >> Makefile.new
- mv Makefile.new Makefile
- rm -f version.txt
- touch *.o uray
-