summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-07-25 17:46:12 (GMT)
committerGitHub <noreply@github.com>2023-07-25 17:46:12 (GMT)
commitb78729638bf69dca9e0dd86eddd530d5fc1aef40 (patch)
treead54eff533b79d2662dc685e2226e67333e5b698 /bin/chkcopyright
parent8a364dd086df040af0bef02515f90841e0a8dc88 (diff)
downloadhdf5-b78729638bf69dca9e0dd86eddd530d5fc1aef40.zip
hdf5-b78729638bf69dca9e0dd86eddd530d5fc1aef40.tar.gz
hdf5-b78729638bf69dca9e0dd86eddd530d5fc1aef40.tar.bz2
sync bin dir with develop (#3270)
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}