#! /bin/csh # first arg to this is the name of the formatted source file set hold=$MGDATA setenv MGDATA /herbaria/FLORA/aspt/mgdata set source = "dumper $1 name" set text = aspt_name ${source} | mg_passes -s 3 -T1 -N1 -m 1 -t 1 -f ${text} mg_compression_dict -f ${text} mg_perf_hash_build -f ${text} ${source} | mg_passes -s 3 -T2 -N2 -c 2 -t 1 -f ${text} mg_weights_build -f ${text} -b 8 mg_invf_dict -f ${text} -b 4096 mg_fast_comp_dict -f ${text} set source = "dumper $1 addr" set text = aspt_addr ${source} | mg_passes -s 3 -T1 -N1 -m 1 -t 1 -f ${text} mg_compression_dict -f ${text} mg_perf_hash_build -f ${text} ${source} | mg_passes -s 3 -T2 -N2 -c 2 -t 1 -f ${text} mg_weights_build -f ${text} -b 8 mg_invf_dict -f ${text} -b 4096 mg_fast_comp_dict -f ${text} set source = "dumper $1 focus" set text = aspt_focus ${source} | mg_passes -s 3 -T1 -N1 -m 1 -t 1 -f ${text} mg_compression_dict -f ${text} mg_perf_hash_build -f ${text} ${source} | mg_passes -s 3 -T2 -N2 -c 2 -t 1 -f ${text} mg_weights_build -f ${text} -b 8 mg_invf_dict -f ${text} -b 4096 mg_fast_comp_dict -f ${text} setenv MGDATA $hold