~ubuntu-branches/ubuntu/trusty/skktools/trusty-proposed

« back to all changes in this revision

Viewing changes to convert2skk/wnn2skk.awk

  • Committer: Bazaar Package Importer
  • Author(s): Takao KAWAMURA
  • Date: 2003-09-18 15:31:09 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20030918153109-9ubs3wtb5pxtv8us
Tags: 1.1-1
* New upstream release.
* Fixed the extended description. (Closes: Bug#209892)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Known Bugs; $2 �θ�� SPC �����äƤ��ޤ� (�������ʤ�)��
2
1
#
3
2
BEGIN{
4
 
    FS=" +";
5
 
    print(";; okuri-nasi entries.");
 
3
    FS="[\t ]+";
 
4
    #print(";; okuri-nasi entries.");
 
5
    annotation = ""
6
6
}
7
 
($0 !~ /^\\/) && ($0 !~ /\/\|ñ����:$/) && ($0 !~/^$/){
8
 
    #gsub(/ /,"", $2);
 
7
($0 !~ /^\\/) && ($0 !~ /\/.*:$/) && ($0 !~/^$/){
 
8
  if (match($0, "#") > 0) {
 
9
    annotation = substr($0, RSTART + 1);
 
10
  } else annotation = "";
 
11
  annotation = $3 annotation;
 
12
  if (annotation != "") {
 
13
    sub("^ ", "", annotation);
 
14
    printf("%s /%s;%s/\n", $1, $2, annotation);
 
15
  } else
9
16
    printf("%s /%s/\n", $1, $2);
10
17
}