ladybird/Userland/echo.cpp
2019-04-25 04:42:09 +02:00

12 lines
222 B
C++

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