bin: generalized shorthands for ltldo and ltlcross

* src/bin/common_trans.cc: Skip leading directories, and
do not require that the prefix is followed by space of 0.
* src/tests/ltldo.test: Add a test.
* doc/org/ltlcross.org: Update.
This commit is contained in:
Alexandre Duret-Lutz 2015-06-02 18:20:47 +02:00
parent 6298918497
commit 203d07693d
3 changed files with 31 additions and 3 deletions

View file

@ -180,6 +180,12 @@ the following words, then the string on the right is appended.
ltl3dra -f %f>%O
modella %L %O
spin -f %s>%O
Any {name} and directory component is skipped for the purpose of
matching those prefixes. So for instance
'{DRA} ~/mytools/ltl2dstar-0.5.2'
will changed into
'{DRA} ~/mytools/ltl2dstar-0.5.2 --output-format=hoa %L %O'
#+end_example
What this implies is that running =ltlcross ltl2ba ltl3ba ...= is