summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
Diffstat (limited to 'bin/chkcopyright')
-rwxr-xr-xbin/chkcopyright2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chkcopyright b/bin/chkcopyright
index 015863b..3464927 100755
--- a/bin/chkcopyright
+++ b/bin/chkcopyright
@@ -359,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}