# Routine called from timecnv.shtml when that file is used as # an shtml file. Since we don't do it that way any more, this # code is not particularly tested... { # Arg 0 - file name of some sort to hold object name. Symbolically linked into /tmp # Arg 1 - file name of some sort to hold var list. Symbolically linked into /tmp # Arg 2 - file name of some sort to hold any hidden variables for this job. Symbolically linked into /tmp $TMPDIR="/tmp"; $LISTVAR="/data/globec/bin/listvar"; $NAWKSCR="/data/globec/htmlbin/bin/nawkscr"; # Also in /htmlsrc/nawkscr -- ? $PARSE_PATH_INFO="/export/home/wsass/parse_path_info"; $objectname_file = $ARGV[0]; $varlist_file = $ARGV[1]; $hiddenvars_file = $ARGV[2]; ##### Save copy of PATH_INFO in temp file open (FILE, ">$TMPDIR/$objectname_file") || die "Cannot write $TMPDIR/$objectname_file"; print FILE $ENV{"PATH_INFO"}; close FILE; symlink ("$TMPDIR/$objectname_file","$objectname_file"); ##### Any needed coordination info for this "job" ##### Not very useful in shtml environment, since form itself cannot ##### use any of this stuff - it merely passes it to its action ##### routine. open (FILE, ">$TMPDIR/$hiddenvars_file") || die "Cannot write $TMPDIR/$hiddenvars_file"; print FILE "\n"; close FILE; symlink ("$TMPDIR/$objectname_file","$objectname_file"); ##### Get list of variables as html list (preceded by