Sujet : how can I replace ~/ in tcl8 and 9 code?
De : clt.to.davebr (at) *nospam* dfgh.net
Groupes : comp.lang.tclDate : 19. Aug 2024, 16:34:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <42917240816791001@llp>
Right now I've using a package that redefines [file] to add the home subcommand.
Then: source ~/src/tcl/xx
becomes: source [file join [file home] src/tcl/xx]
which works in Tcl8 and 9
Is there a simpler way to replace ~/ in code that needs to run under Tcl8 and Tcl9 ?
daveb