summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chkcopyright')
-rwxr-xr-xbin/chkcopyright6
1 files changed, 1 insertions, 5 deletions
diff --git a/bin/chkcopyright b/bin/chkcopyright
index 756afe8..3464927 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -14,10 +14,6 @@
# Check that all the files have the proper copyright notice.
# It goes down directories recursively.
#
-# Programmer: Albert Cheng
-# Created Data: 2003/07/22
-# Modification:
-# Rewrote most of it. Albert Cheng, 2005/10/10.
# Setup
#
@@ -363,7 +359,7 @@ MATCH_COPYRIGHT()
false
else
if [ $begin -gt 1 ]; then
- begin=`expr $begin - 1`
+ begin=`expr $begin`
fi
end=`expr $begin + $nlines - 1`
sed -n -e "${begin},${end}p" < $f > ${EXTRACTEDFILE}