********************************************************************** * ECHO * ********************************************************************** * COPYRIGHT 1983 EUGENE H. MALLORY * ********************************************************************** PROGRAM: ECHO - Echos command line args to output. USAGE: ECHO [arg1 arg2 arg3 ... argi] FUNCTION: ECHO copies command line args to the output with one arg per line. Because the CP/M translates characters into upper case and deletes spaces, and because the I/O redirection and pipes use <, >, and + as markers, some special conventions are provided to get around these restrictions. These are: \ Literal follows. Used with restricted characters like \+ . _ Space. may be used as a space. Use \_ if you want a literal _. ~ Lowercase flag. Letter which follows goes into lower case. EXAMPLE: ECHO HELLO! ECHO HELLO_THERE {Both words go on one line} ECHO HELLO THERE {Words go on separate lines} ECHO XSUB COPY B:=*.HLP B:=*.COM . >COPY.SUB {Builds a submit file to copy files} Command Line ___________________________________ | | ARGUMENT LIST | | | ______________V______________ | | Standard Output | | ONE ARGUMENT PER LINE | ECHO |-----------------------> | | | | |___________________________|