home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CP/M
/
CPM_CDROM.iso
/
cpm
/
cug
/
softt-6.lbr
/
ECHO.RAT
< prev
next >
Wrap
Text File
|
1984-07-05
|
640b
|
26 lines
#-h- echo 377 local 09/12/80 17:10:47
# echo - echo command line arguments
# include symbol definitions
DRIVER(echo)
integer i
integer getarg
character buf (MAXARG)
call query ("usage: echo [args].")
for (i = 1; getarg (i, buf, MAXARG) != EOF; i = i + 1) {
if (i != 1)
call putch (BLANK, STDOUT)
call putlin (buf, STDOUT)
}
if (i != 1)
call putch (NEWLINE, STDOUT)
DRETURN
end
#-t- echo 377 local 09/12/80 17:10:47