TWiki
>
Contrib Web
>
FstContrib
>
OpenFstBashComp
(2011-02-21,
PaulDixon
)
(raw view)
E
dit
A
ttach
This [[http://openfst.cs.nyu.edu/twiki/pub/Contrib/OpenFstBashComp/openfstbc][file]] will add bash completions that give tab completion to the OpenFst command line flags and enumerable value types. Three types of completions are created based on the flags value type. * Flags which accept path or numeric values will complete with a trailing = character and then default to the standard completion. * Binary flags will complete without a trailing = character. * Flags which can accepte an enumerable string value will complete will a trailing = and then suggest suitable values. For example the =-arc_type== value completions will suggest =log= and =standard= as the values parameters. To use simply source the completion file. =source openfstbc= Tested on Ubuntu 10.04 under bash 4.5. The completions don't seem to work correctly on earlier versions of bash (<4). -- Main.PaulDixon - 21 Feb 2011
Attachments
Attachments
Topic attachments
I
Attachment
History
Action
Size
Date
Who
Comment
ext
openfstbc
r1
manage
17.1 K
2011-02-21 - 10:10
UnknownUser
OpenFstBashCompletitions1
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
WYSIWYG
|
M
ore topic actions
Topic revision: r1 - 2011-02-21
-
PaulDixon
Contrib
Log In
or
Register
Contrib Web
Create New Topic
Index
Search
Changes
Notifications
Statistics
Preferences
Webs
Contrib
FST
Forum
GRM
Kernel
Main
Sandbox
TWiki
Main
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback