We'd like to reuse the --ins/--outs matching in ltlfilt as well, so let's put that code in a common file. * bin/common_ioap.cc, bin/common_ioap.hh: New files. * bin/ltlsynt.cc: Extracted from here. * bin/Makefile.am: Add them.