18 lines
314 B
C
18 lines
314 B
C
#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;
|
|
}
|