Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/skk-jisyo/files/
Date: Sun, 25 Jun 2017 07:06:50
Message-Id: 1498374394.21eaa91cd4e0f8ced7ccd6c53154c31006793aeb.hattya@gentoo
1 commit: 21eaa91cd4e0f8ced7ccd6c53154c31006793aeb
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 25 07:06:34 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 25 07:06:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21eaa91c
7
8 app-i18n/skk-jisyo: remove unused file
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-i18n/skk-jisyo/files/unannotation.awk | 75 -------------------------------
13 1 file changed, 75 deletions(-)
14
15 diff --git a/app-i18n/skk-jisyo/files/unannotation.awk b/app-i18n/skk-jisyo/files/unannotation.awk
16 deleted file mode 100644
17 index 88d9eb25434..00000000000
18 --- a/app-i18n/skk-jisyo/files/unannotation.awk
19 +++ /dev/null
20 @@ -1,75 +0,0 @@
21 -# unannotation.awk: filter to remove annotations in dictionaries.
22 -#
23 -# Copyright (C) 2001, 2002 SKK Development Team <skk@×××××××.jp>
24 -#
25 -# Maintainer: SKK Development Team <skk@×××××××.jp>
26 -# Version: $Id: unannotation.awk,v 1.3 2006/01/04 10:35:06 skk-cvs Exp $
27 -# Last Modified: $Date: 2006/01/04 10:35:06 $
28 -#
29 -# This file is part of Daredevil SKK.
30 -#
31 -# Daredevil SKK is free software; you can redistribute it and/or
32 -# modify it under the terms of the GNU General Public License as
33 -# published by the Free Software Foundation; either version 2, or
34 -# (at your option) any later version.
35 -#
36 -# Daredevil SKK is distributed in the hope that it will be useful,
37 -# but WITHOUT ANY WARRANTY; without even the implied warranty of
38 -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
39 -# General Public License for more details.
40 -#
41 -# You should have received a copy of the GNU General Public License
42 -# along with Daredevil SKK, see the file COPYING. If not, write to
43 -# the Free Software Foundation Inc., 51 Franklin St, Fifth Floor,
44 -# Boston, MA 02110-1301, USA.
45 -
46 -BEGIN{
47 - print ";; -*- text -*-";
48 - ctime = myctime(0);
49 - this = ARGV[1];
50 - if (match(this, /\.annotated$/) != 0){
51 - this = substr(this, 1, RSTART - 1);
52 - } else
53 - this = this ".unannotated";
54 - printf(";; %s was generated automatically by unannotation.awk at %s\n",
55 - this, ctime);
56 - #getline modeindicator
57 - #if (match(modeindicator, /;; -*- text -*-/) != 0){
58 - # print modeindicator;
59 - #}
60 -}
61 -#$0 !~ /"^;; -\*- text -\*-\n"/{
62 -{
63 - if (match($0, /^;/) == 0) {
64 - gsub(";[^/]*/", "/");
65 - if (DEQUOTE && $0 ~ /\\073/) {
66 - $0 = dequote($0);
67 - }
68 - }
69 - print;
70 -}
71 -function myctime(ts, format) {
72 - format = "%a %b %e %H:%M:%S %Y";
73 - if (ts == 0)
74 - ts = systime(); # use current time as default
75 - return strftime(format, ts);
76 -}
77 -# convert '\073' to ';' and strip '(concat "...")'.
78 -# example: 'smile /(concat "^_^\073\073")/:-)/' to 'smile /^_^;;/:-)/'
79 -# @param s string to convert
80 -# @return converted string
81 -function dequote(s) {
82 - ret = "";
83 - n = split(s, a, "/");
84 - for (i = 1; i < n; i++) {
85 - if (a[i] ~ /^\(concat ".*\\073.*"\)$/) { # \073 = ';'
86 - gsub(/\\073/, ";", a[i]);
87 - if (a[i] !~ /\\/) { # no other quote
88 - a[i] = gensub(/^\(concat "(.*)"\)$/, "\\1", "g", a[i]);
89 - }
90 - }
91 - ret = ret a[i] "/";
92 - }
93 - return ret;
94 -}
95 -# end of unannotation.awk.