[[-z"${offline-}"]]&&declare-ioffline=0 # if set from gen_sql
((!$offline))&&printf"ERROR %s%s OUT OF ORDER found %s from tbdb %s\n""${unit_human_output}""s:""$localunits""$tbdbunits"
((!$offline))&&(printf"ERROR %s OUT OF ORDER found %s from tbdb %s\n""${unit_human_output}""$localunits""$tbdbunits">>$fileout)||(printf"WARNING %s%s ORDER '%s' compared to '%s'\n""${unit_human_output}""s:""$localunits""$tbdbunits">>$fileout)
fi
fi
return 0
}
...
...
@@ -478,19 +497,6 @@ uniqstr() {
echo$outstr
}
# no args uses the globel arrays hwinvv, tcm_in, tcm_out
#mergetmcinfo() {
# for i in ${hwinv["hwinvidx"]} ; do
# hwinv[$i]+=" ADD"
# done
#}
# arg $1 is the file to write uses the globel tcm_out array