summaryrefslogtreecommitdiffstats
path: root/extract-copyright-comments
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-06 07:01:59 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-06 07:01:59 (EST)
commitac8ec2c0be33c0446dd84ac9e114f3df89258e42 (patch)
tree998479dd15176bbfd351cf5726779e9f0a09f000 /extract-copyright-comments
parent0efbe551f4eabe8d0e9ff4f6545c3cf9299b93d2 (diff)
copyright: Remove duplicate copyright notices
These were split out in commit 8dba02e7f54dc49296e676c7e9b4a8ba48697db2. Found using the following commands: files="$(sed -n '4,91{ s/,//g; p; }' ../../copyright)"; sed -n '94,184{ s/Copyright *//; s/([Cc]) *//; s/^[0-9][0-9][0-9, -]*//; s/^by *//; p; }' ../../copyright | while read -r line; do grep -Fq "${line}" ${files} || printf '%s\n' "${line}"; done files="$(sed -n '1940,1987{ s/,//g; p; }' ../../copyright)"; sed -n '1990,2026{ s/Copyright *//; s/([Cc]) *//; s/^[0-9][0-9][0-9, -]*//; s/^by *//; p; }' ../../copyright | while read -r line; do grep -Fq "${line}" ${files} || printf '%s\n' "${line}"; done Or, more readably: files="$(sed -n '4,91{ s/,//g; p; }' ../../copyright)" sed -n '94,184{ s/Copyright *//; s/([Cc]) *//; s/^[0-9][0-9][0-9, -]*//; s/^by *//; p; }' ../../copyright | while read -r line; do grep -Fq "${line}" ${files} || printf '%s\n' "${line}" done files="$(sed -n '1940,1987{ s/,//g; p; }' ../../copyright)" sed -n '1990,2026{ s/Copyright *//; s/([Cc]) *//; s/^[0-9][0-9][0-9, -]*//; s/^by *//; p; }' ../../copyright | while read -r line; do grep -Fq "${line}" ${files} || printf '%s\n' "${line}" done
Diffstat (limited to 'extract-copyright-comments')
0 files changed, 0 insertions, 0 deletions