summaryrefslogtreecommitdiffstats
path: root/tools/make-man-index.py
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-06-14 12:47:16 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-06-14 13:03:20 +0200
commit0cd41d4dff5f0f7fd651a2c8ad86d1932313e666 (patch)
treeba30903a612b6815f7b54f8cf509281c0cb1ff1d /tools/make-man-index.py
parentMerge pull request #9274 from poettering/comment-header-cleanup (diff)
downloadsystemd-0cd41d4dff5f0f7fd651a2c8ad86d1932313e666.tar.xz
systemd-0cd41d4dff5f0f7fd651a2c8ad86d1932313e666.zip
Drop my copyright headers
perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
Diffstat (limited to 'tools/make-man-index.py')
-rwxr-xr-xtools/make-man-index.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/make-man-index.py b/tools/make-man-index.py
index 453c97842b..3c318cb75f 100755
--- a/tools/make-man-index.py
+++ b/tools/make-man-index.py
@@ -1,8 +1,6 @@
#!/usr/bin/env python3
# -*- Mode: python; coding: utf-8; indent-tabs-mode: nil -*- */
# SPDX-License-Identifier: LGPL-2.1+
-#
-# Copyright © 2013 Zbigniew Jędrzejewski-Szmek
import collections
import sys