URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [tcl/] [doc/] [rename.n] - Blame information for rev 1780
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1993 The Regents of the University of California.
|
3 |
|
|
'\" Copyright (c) 1994-1997 Sun Microsystems, Inc.
|
4 |
|
|
'\"
|
5 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
6 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
7 |
|
|
'\"
|
8 |
|
|
'\" RCS: @(#) $Id: rename.n,v 1.1.1.1 2002-01-16 10:25:25 markom Exp $
|
9 |
|
|
'\"
|
10 |
|
|
.so man.macros
|
11 |
|
|
.TH rename n "" Tcl "Tcl Built-In Commands"
|
12 |
|
|
.BS
|
13 |
|
|
'\" Note: do not modify the .SH NAME line immediately below!
|
14 |
|
|
.SH NAME
|
15 |
|
|
rename \- Rename or delete a command
|
16 |
|
|
.SH SYNOPSIS
|
17 |
|
|
\fBrename \fIoldName newName\fR
|
18 |
|
|
.BE
|
19 |
|
|
|
20 |
|
|
.SH DESCRIPTION
|
21 |
|
|
.PP
|
22 |
|
|
Rename the command that used to be called \fIoldName\fR so that it
|
23 |
|
|
is now called \fInewName\fR.
|
24 |
|
|
If \fInewName\fR is an empty string then \fIoldName\fR is deleted.
|
25 |
|
|
\fIoldName\fR and \fInewName\fR may include namespace qualifiers
|
26 |
|
|
(names of containing namespaces).
|
27 |
|
|
If a command is renamed into a different namespace,
|
28 |
|
|
future invocations of it will execute in the new namespace.
|
29 |
|
|
The \fBrename\fR command returns an empty string as result.
|
30 |
|
|
|
31 |
|
|
.SH KEYWORDS
|
32 |
|
|
command, delete, namespace, rename
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.