
| Current Path : /var/www/web-klick.de/dsh/91_archiv/fuer_backup/bin/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/web-klick.de/dsh/91_archiv/fuer_backup/bin/mace |
#!/bin/csh
#
# 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 otter and anldp binaries.
#
set OTTER=otter
set ANLDP=/root/6/mace-1.3.4/anldp
set TEMP=/tmp/mace-$$
sed '1s/^/set(dp_transform). /' | $OTTER > $TEMP
if ($status != 0) then
cat $TEMP
/bin/rm $TEMP
exit 1
else
# This is kludgey, but I don't see a better way to do it.
# Wait until the anldp job gets started, then rm the temp file.
(sleep 3; /bin/rm $TEMP) &
awk '/START OF DP INPUT/,/END OF DP INPUT/' $TEMP | grep -v % \
| $ANLDP $argv
exit $status
endif