This commit is contained in:
2022-12-01 01:21:47 -05:00
parent f85bb632e2
commit d8fa412f3b
3 changed files with 27 additions and 28 deletions
+17
View File
@@ -0,0 +1,17 @@
#include <stdio.h> /* NULL, fprintf(3), putc(3) */
#include <stdlib.h> /* stdout */
#include <sysexits.h> /* EX_OK */
int main(int argc, char **argv){
if(*argv == NULL || *++argv == NULL)
argc = 1;
while(--argc){
fprintf(stdout, "%s", *(argv++));
if(argc > 1)
putc(' ', stdout);
}
return EX_OK;
}