Sujet : Re: a trivial and complicated problem in TCL
De : undroidwish (at) *nospam* googlemail.com (undroidwish)
Groupes : comp.lang.tclDate : 12. Aug 2024, 14:54:19
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v9d46c$3anll$1@dont-email.me>
References : 1
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
On 8/12/24 14:45, aotto1968 wrote:
...
my CURRENT solution is way-to-over-engineerd
→ recreate the tcl "put" command and exchange "stderr" with "stdout"
You could have studied the implementation of "pkg_mkIndex" and found
that it uses a command "tclLog" for logging. Then you could have
exchanged the "tclLog" command with the implementation of your choice.
If this is over or under engineering depends solely on your own
version of "tclLog".
HTH,
Christian