home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
231.lha
/
URay_v1.0
/
Make.version
< prev
next >
Wrap
Text File
|
1989-04-04
|
398b
|
17 lines
#
# 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