# This script takes otter-style input for a first-order model search,
# pipes it through Otter to generate input for anldp, then pipes that
# to anldp.  The command-line options are given to anldp unchanged.
#
# Set the following variables to appropriate values.
#
set OTTER_PATH=/home/mccune/bin
set ANLDP_PATH=/home/mccune/anldp100
#
$OTTER_PATH/otter302 | \
	awk '/START OF DP INPUT/,/END OF DP INPUT/' | \
	 grep -v % | \
	$ANLDP_PATH/anldp $argv
