There is a script. Check apache site or old mail from Bertrand



Sent via the PANTECH Discover, an AT&T 4G LTE smartphone.

Justin Mclean <jus...@classsoftware.com> wrote:


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

Reply via email to