autfilt, dstar2tgba: add CSV input
Fixes #91. * bin/autfilt.cc, bin/dstar2tgba.cc: Implement reading CSV files. * bin/common_finput.cc: Fix comments. * bin/common_aoutput.cc: Show %<, %> in help text. * NEWS, doc/org/csv.org: Document it. * tests/core/readsave.test: Add a short test case.
This commit is contained in:
parent
f423c424eb
commit
ca0d81b5d7
7 changed files with 229 additions and 51 deletions
|
|
@ -181,6 +181,12 @@ static const argp_option io_options[] =
|
|||
"one word accepted by the output automaton", 0 },
|
||||
{ "%%", 0, nullptr, OPTION_DOC | OPTION_NO_USAGE,
|
||||
"a single %", 0 },
|
||||
{ "%<", 0, nullptr, OPTION_DOC | OPTION_NO_USAGE,
|
||||
"the part of the line before the automaton if it "
|
||||
"comes from a column extracted from a CSV file", 4 },
|
||||
{ "%>", 0, nullptr, OPTION_DOC | OPTION_NO_USAGE,
|
||||
"the part of the line after the automaton if it "
|
||||
"comes from a column extracted from a CSV file", 4 },
|
||||
{ nullptr, 0, nullptr, 0, nullptr, 0 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue