how can I replace ~/ in tcl8 and 9 code?

Liste des GroupesRevenir à cl tcl 
Sujet : how can I replace ~/ in tcl8 and 9 code?
De : clt.to.davebr (at) *nospam* dfgh.net
Groupes : comp.lang.tcl
Date : 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


Date Sujet#  Auteur
19 Aug 24 o how can I replace ~/ in tcl8 and 9 code?1clt.to.davebr

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal