2019-06-11 13:57:14 +00:00
|
|
|
#include "kernel/types.h"
|
|
|
|
#include "kernel/stat.h"
|
|
|
|
#include "user/user.h"
|
2006-07-28 22:33:07 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
|
2019-09-04 14:12:53 +00:00
|
|
|
for(i = 1; i < argc; i++){
|
|
|
|
write(1, argv[i], strlen(argv[i]));
|
|
|
|
if(i + 1 < argc){
|
|
|
|
write(1, " ", 1);
|
|
|
|
} else {
|
|
|
|
write(1, "\n", 1);
|
|
|
|
}
|
|
|
|
}
|
2019-09-10 16:30:10 +00:00
|
|
|
exit(0);
|
2006-07-28 22:33:07 +00:00
|
|
|
}
|