~pyside/pyside/apiextractor

Viewing all changes in revision 414.

  • Committer: Sergio Ahumada
  • Author(s): Teemu Kaukoranta
  • Date: 2013-05-23 09:19:07 UTC
  • Revision ID: git-v1:25b23b4f039650c6e5d64592e6e7210719e52097
Replaced Nokia copyrights in header

Replaced old Nokia copyrights with Digia copyrights.
Removed "All rights reserved" strings without leading copyrights were
removed (for example, 'Copyright SomeCompany, all rights reserved
remain untouched).

Did NOT touch contact details, will change them later.
Excluded folders that have '3rdparty' in path.

Used command:
find . -path '*/3rdparty/*' -prune -o
-exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; |
tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/
\1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I')
>(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I')

This excludes binary files and retains whitespace and #* characters in
the beginning of the edited lines.

Change-Id: I9b960d54cfe46a85be86b524e95e3ee875933fb6
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: