This commit is contained in:
call-cc 2020-06-01 15:37:33 -04:00
parent 0e055dbfe1
commit 93016659c6
1 changed files with 14 additions and 0 deletions

14
src/echo.c Normal file
View File

@ -0,0 +1,14 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
int
main(int argc, char *argv[])
{
while(*argv) {
(void)fputs(*argv, stdout); // Print argv
if(*++argv) putchar(' '); // If multiple things in argv, print a space between them.
}
putchar('\n');
return 0;
}