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 | |
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
-rw-r--r-- | copyright | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -112,10 +112,8 @@ Copyright (C) 1999,2000,2001 by Lineo, inc. and John Beppu Copyright (C) 1999,2000,2001 by John Beppu <beppu@codepoet.org> Copyright (C) 1999,2000,2001 by Lineo, inc. and Mark Whitley Copyright (C) 1999,2000,2001 by Mark Whitley <markw@codepoet.org> -Copyright 1999 George Staikos Copyright (c) 1999 Anthony Towns <aj@azure.humbug.org.au> Copyright (C) 2000 Arcom Control System Ltd -(C) Copyright 2000, Axis Communications AB, LUND, SWEDEN Copyright (C) 2000, Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl) Copyright (c) 2000, 2002 Edward Betts <edward@debian.org> Copyright (C) 2000-2001 by Gennady Feldman <gfeldman@gena01.com> @@ -153,7 +151,6 @@ Copyright (C) 2005 Odd Arild Olsen (oao at fibula dot no) Copyright (C) 2005-2009 Bernhard Reutner-Fischer Copyright (C) 2005-2006 by Robert Sullivan (C) 2006 Jac Goudsmit -Copyright (C) 2006 by Jan Kiszka <jan.kiszka@web.de> Copyright (C) 2006 Michael Opdenacker <michael@free-electrons.com> Copyright (C) 2006 by Yoshinori Sato <ysato@users.sourceforge.jp> Copyright (C) 2006 Gabriel Somlo <somlo at cmu.edu> @@ -1999,7 +1996,6 @@ Copyright (C) 1999,2000,2001 by Mark Whitley <markw@codepoet.org> Copyright (C) 1999 by Lineo, inc. and John Beppu Copyright (C) 1999,2000,2001 by John Beppu <beppu@codepoet.org> Copyright (C) 2002 Matt Kraai -Vladimir Oleynik (C) 2002 <dzo@simtreas.ru> Copyright (C) 2003-2006, 2008, 2010 by Rob Landley <rob@landley.net> Copyright (C) 2003-2004 by Glenn McGrath Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org> |