Skip to content
Snippets Groups Projects
addlicensecomments.sh 167 B
Newer Older
Perttu Ahola's avatar
Perttu Ahola committed
#!/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