diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:55:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:55:52 +0000 |
commit | f7a951d79bc895eb2171c2570add9f4899794a10 (patch) | |
tree | cc0c7147f472fecbc93add134f5c0e5c1bb72529 /contrib/release/copyright-lines.awk | |
parent | Initial commit. (diff) | |
download | dwz-4fb184be49430f1d777ce99c270ed80a487aa8a0.tar.xz dwz-4fb184be49430f1d777ce99c270ed80a487aa8a0.zip |
Adding upstream version 0.15.upstream/0.15upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'contrib/release/copyright-lines.awk')
-rw-r--r-- | contrib/release/copyright-lines.awk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/contrib/release/copyright-lines.awk b/contrib/release/copyright-lines.awk new file mode 100644 index 0000000..b031c50 --- /dev/null +++ b/contrib/release/copyright-lines.awk @@ -0,0 +1,27 @@ +BEGIN { + start=0 +} + +/Copyright \(C\).*[.]/ { + print + next +} + +/Copyright \(C\)/ { + start=1 + printf $0 + next +} + +/[.]/ { + if (start == 0) + next + print + start=0 +} + +// { + if (start == 0) + next + printf $0 +} |