blob: 56642dab43da4ce9553974fbd03f397291c0688b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# -*- Mode: Shell-Script -*-
#
# Getopt::Gen specification
#-----------------------------------------------------------------------------
program "gfsmlabels"
#program_version "0.01"
purpose "Map input text characters to gfsm labels"
author "Bryan Jurish <moocow@ling.uni-potsdam.de>"
on_reparse "warn"
#-----------------------------------------------------------------------------
# Details
#-----------------------------------------------------------------------------
details ""
#-----------------------------------------------------------------------------
# Files
#-----------------------------------------------------------------------------
#rcfile "/etc/mootrc"
#rcfile "~/.mootrc"
#-----------------------------------------------------------------------------
# Arguments
#-----------------------------------------------------------------------------
argument "TXTFILE" "Input text file" \
details="
If unspecified, standard input will be read.
"
#argument "BINFILE" "Output binary gfsm file" \
# details="
#If unspecified, output will be written to standard output.
#"
#-----------------------------------------------------------------------------
# Options
#-----------------------------------------------------------------------------
#group "Basic Options"
string "labels" l "Specify input alphabet (labels) file." \
arg="LABELS"
flag "att-mode" a "Parse string(s) in AT&T-compatible mode." \
default="0"
flag "map-mode" m "Output original strings in addition to label vectors." \
default="0"
flag "quiet" q "Suppress warnings about undefined symbols." \
default="0"
string "output" o "Specifiy output file (default=stdout)." \
arg="FILE" \
default="-"
#-----------------------------------------------------------------------------
# Addenda
#-----------------------------------------------------------------------------
#addenda ""
#-----------------------------------------------------------------------------
# Bugs
#-----------------------------------------------------------------------------
bugs "
None known.
"
#-----------------------------------------------------------------------------
# Footer
#-----------------------------------------------------------------------------
#acknowledge `cat acknowledge.pod`
seealso "
L<gfsmutils>
"
|