diff options
Diffstat (limited to 'addlicensecomments.sh')
-rw-r--r-- | addlicensecomments.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/addlicensecomments.sh b/addlicensecomments.sh new file mode 100644 index 000000000..e5642e82d --- /dev/null +++ b/addlicensecomments.sh @@ -0,0 +1,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 + |