[htdig] Redirection of Htdig output -- 3.20b2


Subject: [htdig] Redirection of Htdig output -- 3.20b2
From: Sphboc@aol.com
Date: Fri Nov 17 2000 - 03:53:57 PST


My intent is to capture the STDOUT, from HTDIG, in a disk file.

Following code operates as intended (Linux system)
#!/mybin/sh
URLMAIN=mallst
CONFDIR=/htdig3.2b2/sngl/conf
DBDIR=/htdig3.2b2/sngl/data
BINDIR=/htdig3.2b2/bin
# echo "progname = $0 / $URLMAIN"
TMPDIR=$DBDIR
export TMPDIR

CONFDIR_LOAD=/htdig3.2b2/sngl/conf
DB_STAT_DIR=/htdig3.2b2/sngl/stat

$BINDIR/htdig -svic $CONFDIR_LOAD/$URLMAIN.conf >
$DB_STAT_DIR/$URLMAIN._htdig.log

Following line of Perl code is intended to run htdig, and send STDOUT to
    /htdig3.2b2/autoshop-online._htdig.log;
  
system
"/htdig3.2b2/bin/htdig","-svic","/htdig3.2b2/sngl/conf/autoshop-online.conf","

>",
"/htdig3.2b2/autoshop-online._htdig.log";

The execution of Htdig produces valid content in STDOUT, but it goes to
STDOUT itself (as opposed to the specified file). Best I can tell, from
review of Perl (5.005_03) documentation, syntax of above command is valid.

I'm somewhat mystified . .

Steven P Haver/602-242-9708

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
FAQ: <http://www.htdig.org/FAQ.html>



This archive was generated by hypermail 2b28 : Fri Nov 17 2000 - 04:02:02 PST