Index: mttroot/mtt/bin/trans/abg2sympar_m2txt ================================================================== --- mttroot/mtt/bin/trans/abg2sympar_m2txt +++ mttroot/mtt/bin/trans/abg2sympar_m2txt @@ -66,13 +66,21 @@ args= substr($3,2,length($3)-3); if (length(args)>0) printf("%s\t%s\n", args,system_name) ## } }' system_name=$SystemName |\ -grep -v '^\$' | mtt_strip_args |\ -sort -u #> $1_sympar.txt 2>mtt_error.txt +grep -v '^\$' | mtt_strip_args | sort -u > mtt_stripped_args + + +## Now get the explicit declarations +if [ -n "$UseLabelFile" ]; then ## Take input from lbl.txt + ext=_lbl.txt +else + ext=_abg.m +fi -# Now invoke the standard error handling. -#mtt_error mtt_error.txt +sh $1_type.sh "strip_pars.sh " "$ext " " " | sort -u > mtt_explicit_args +## And write sorted list +cat mtt_explicit_args mtt_stripped_args