Overview
| Artifact ID: | bae03729e003441e639a0064c9393ab11f242517 |
|---|---|
| Ticket: | 707104ffffffffffffffffffffffffffffffffff
[interp alias] overwrites [rename]d alias |
| User & Date: | beric on 2003-03-21 16:56:55 |
Changes
- icomment:
Logged In: YES user_id=493507 Does this help ? It takes care of renaming an alias (restricted in one interp) proc rename_alias {oldCmd newCmd} { set alias [interp alias {} $oldCmd] if {[llength $alias]} { if {$newCmd ne ""} { eval [concat [list interp alias {} $newCmd {}] $alias] } interp alias {} $oldCmd {} } else { rename $oldCmd $newCmd } } - login: "beric"
- mimetype: "text/plain"
- username: "beric"