diff options
author | Patrick 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) |
commit | ac8ec2c0be33c0446dd84ac9e114f3df89258e42 (patch) | |
tree | 998479dd15176bbfd351cf5726779e9f0a09f000 /network-hooks | |
parent | 0efbe551f4eabe8d0e9ff4f6545c3cf9299b93d2 (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 'network-hooks')
0 files changed, 0 insertions, 0 deletions