From ac8ec2c0be33c0446dd84ac9e114f3df89258e42 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 06 Dec 2020 07:01:59 -0500 Subject: 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 --- (limited to 'src.var') -- cgit v0.9.1