*ugh*
A #Tcl program has same code copy-pasted in 3 places, /seemingly/. Before I could refactor, will read up on #proc(edure) ... along with the rest.
Then, add configuration file parsing to generate an associative array or a #dict
A long list of values had been hardcoded in 3 places: 2x in one shell script; 1x in above Tcl program.
Already updated the shell script to parse the configuration file via #awk in the main branch of the Git repository. #lowHangingFruit
#softwareDev #life
... a re-write in Perl|Python (to combine the shell script & the Tcl program) is I do not care much about, mainly because that would still need to use #expect some way.
(Though the exercise does seem tempting in order to not have to deal with Tcl or portions of code replicated in the shell script at some later time)
#softwareDev #life