#!/bin/sh cd /usr/local/bin TMPDIR=/var/tmp; export TMPDIR for i in all_dk debet_rus debet_rus_2000 debet_rus_2001 debet_rus_2002 debet_rus_2003 debet_ukr debet_ukr_2000 debet_ukr_2001 debet_ukr_2002 debet_ukr_2003 documents_rus documents_rus_2000 documents_rus_2001 documents_rus_2002 documents_rus_2003 documents_ukr documents_ukr_2000 documents_ukr_2001 documents_ukr_2002 documents_ukr_2003; do ./htdig -sic /home/dtkt.com.ua/etc/htdig/$i.conf ./htmerge -sc /home/dtkt.com.ua/etc/htdig/$i.conf done