Hi, > Is there already such a script, which was used for flex-sdk or falcon project?
Try something like this.
Copy license header to file called LICENSE.
Create addlicense.sh containing:
cat LICENSE > temp.txt
cat $1 >> temp.txt
cp temp.txt $1
Run this:
find . -name \*.as -exec addlicence.sh {} \;
That will append the LICENSE file to all *.as files in the current directory
and down. It assumes a lot ie no headers in there already etc
Hope that helps.
Justin
