ltlcross: allow appending to files via >>FILENAME
Suggested by Joachim Klein. Fixes #57. * src/bin/common_file.hh, src/bin/common_file.cc: New file. * src/bin/Makefile.am: Build them. * src/bin/ltlcross.cc: Use the output_file class. * src/tgbatest/ltlcross3.test: Test >>. * NEWS: mention it.
This commit is contained in:
parent
7daea8d3cb
commit
d17d7469c3
6 changed files with 178 additions and 76 deletions
7
NEWS
7
NEWS
|
|
@ -47,6 +47,13 @@ New in spot 1.99a (not yet released)
|
|||
'ltlcross "spin -f %s>%N" ...'. This feature is much
|
||||
more useful for ltldo.
|
||||
|
||||
- For options that take an output filename (i.e., ltlcross's
|
||||
--save-bogus, --grind, --csv, --json) you can force the file
|
||||
to be open in append mode (instead of being truncated) by
|
||||
by prefix the filename with ">>". For instance:
|
||||
--save-bogus=">>bugs.ltl"
|
||||
will append to the end of the file.
|
||||
|
||||
- There is a parser for the HOA format
|
||||
(http://adl.github.io/hoaf/) available as a
|
||||
spot::hoa_stream_parser object or spot::hoa_parse() function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue