ladybird/Userland/echo.cpp

13 lines
222 B
C++
Raw Normal View History

#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;
}