-- AliasDoc.tioga
-- last edited by: L. Stewart, December 12, 1983 5:21 pm
name Alias:
syntax
Alias newName {(formal-parameter-list)} commandLine
description
Aliases provide a substitution macro facility for the first token on a line. Alias bro bringover /o will cause bro mumble to be expanded into bringover /o mumble. Aliases can also be given an (optional) argument list, in which case the tokens on the command line following the alias name will be substituted for the formal parameters, e.g., Alias brob (file df) bringover /a /o file.mesa file.bcd df would cause brob rope rigging to expand to bringover /a /o rope.mesa rope.bcd rigging.df.
Most things that can be done with Alias can also be done with command files.
examples
% Alias Backup List -u *!H
% Backup
AliasDoc.tioga!2
Binder.Log!1
commandtool.df!12
%
% Alias
%
warnings
Probably Alias should print the actual command line that is executed.
stop/undo
Probably too fast to stop.
implementation
AliasImpl.mesa in CommandTool.df
contact
L. C. Stewart <Stewart.pa>, From Teitelman's code
keyword hints
help button info man
keywords
to be supplied by the Index Czar