-- EchoDoc.tioga
-- last edited by: L. Stewart, December 12, 1983 5:21 pm
name Echo:
syntax
Echo ... anything ...
description
Echo parses its command line with CommandTool.Parse and prints the resulting tokens with separating spaces and a final carriage return. It is most useful to see what one of your command lines expands into. It is also useful for getting star patterns into a file.
examples
% Echo a b c
a b c
%
In the very simplest cases, Echo repeats the argument string.
% Echo j*
[]<>JaMStuff.df!1 []<>junk.txt!1
%
Echo does star expansion.
% Echo a&Prompt b
a%% b
%
Echo does Ampersand substitution.
Suppose that the command file EchoTest.cm contains "Echo arg1 = |$1| arg2 = |$2|\n":
% EchoTest.cm XXX YYY
> Echo arg1 = <$1> arg2 = <$2>
arg1 = <XXX> arg2 = <YYY>
%
Echo does Dollar substitution.
warnings
No known problems
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