-- last edited by: L. Stewart, December 12, 1983 5:21 pm
name
CopyCommand:
syntax
CopyCommand newName ← oldName
If newName is not a full path name, then CopyCommand will register it in the current working directory. CopyCommand uses CommandTool.LookupWithSearchRules to find the commandProc corresponding to oldName.
description
Attach a new name to an existing command without deleting the old name. This command merely makes a new entry in the Commander registry with the new name and the old CommandProc.
examples
% CopyCommand Acme ← Date
% Acme
November 1, 1983 5:39 pm
% Date
November 1, 1983 5:39 pm
%
warnings
At this writing, both oldName and newName must be exact, the working directory and lookup stuff is not implemented.
stop/undo
Probably too fast to stop.
implementation
InitialCommandsImpl.mesa in CommandTool.df
contact
L. C. Stewart <Stewart.pa>
keyword hints
help button info man
keywords
to be supplied by the Index Czar