#!/bin/sh
 if [ $# -lt 1 ]
then
echo "uso: $0 historia.inf parametros_para_inform"
exit 1 
fi
RUTA=/var/www/caja/anthk/inform6/infsp6
iconv -f UTF-8 -t ISO-8859-15 < "$1" > tmp.inf
#cp "$1" tmp.inf
inform -v5 +include_path=$RUTA/informlibrary611_fix/,$RUTA/infsp6_fix/ "tmp.inf"
mv tmp.z5 "$(basename "$1" .inf)".z5
rm tmp.inf
