micro-utils/coreutils/echo.c
Your Name 7eed71d9b2 mk
2023-10-13 15:34:16 +03:00

15 lines
221 B
C

#include <stdio.h>
int main(const int argc, const char **argv) {
if (argc > 1) {
for (int i = 1; i < argc; i++) {
fputs(argv[i], stdout);
if (i < argc - 1)
putchar(' ');
}
}
putchar('\n');
return 0;
}