*** empty log message ***

This commit is contained in:
hyung-hwan 2007-02-04 12:37:46 +00:00
parent 3cbbc1b5bb
commit 8ca537e5b2
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Id: lic.awk,v 1.1 2007-02-03 11:54:02 bacon Exp $ * $Id: lic.awk,v 1.2 2007-02-04 12:37:45 bacon Exp $
* *
* {License} * {License}
*/ */
@ -10,14 +10,12 @@ NR == 1 {
} }
/^ \* \{License\}/ { /^ \* \{License\}/ {
print " * Copyright (c) 2007, Hyung-Hwan Chung (brian@abiyo.net)." >> new_file; print " * Copyright (c) 2007, Hyung-Hwan Chung." >> new_file;
print " * All rights reserved." >> new_file; print " * All rights reserved." >> new_file;
print " * Licensed under the BSD license: " >> new_file; print " * Licensed under the BSD license: " >> new_file;
print " * http://www.abiyo.net/ase/license.txt" >> new_file; print " * http://www.abiyo.net/ase/license.html" >> new_file;
} }
!/^ \* \{License\}/ { !/^ \* \{License\}/ {
print $0 >> new_file; print $0 >> new_file;
} }

View File

@ -15,6 +15,7 @@ finalize ()
do do
if [ "$i" = "*" ]; then continue; fi if [ "$i" = "*" ]; then continue; fi
if [ "$i" = "CVS" ]; then continue; fi if [ "$i" = "CVS" ]; then continue; fi
if [ "$i" = "stx" ]; then continue; fi
if [ "$cur" = "" ] if [ "$cur" = "" ]
then then
@ -55,6 +56,12 @@ finalize ()
} }
if [ $# -ne 2 ]
then
echo "Usage: $0"
exit 1
fi
cwd=`pwd` cwd=`pwd`
cd ".." cd ".."
base=`pwd` base=`pwd`