aboutsummaryrefslogtreecommitdiff
path: root/addlicensecomments.sh
blob: e5642e82d53ce7aa567a8e217d73e64a40644117 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
for i in `grep -L 'This program is free software' src/*.{h,cpp}`
do
	cat licensecomment.txt > tempfile
	cat $i >> tempfile
	cp tempfile $i
done
rm tempfile