1b789e1d50
Allow multiple arguments to ls.
13 lines
198 B
C
13 lines
198 B
C
#include "types.h"
|
|
#include "stat.h"
|
|
#include "user.h"
|
|
|
|
int
|
|
main(int argc, char *argv[])
|
|
{
|
|
int i;
|
|
|
|
for(i = 1; i < argc; i++)
|
|
printf(1, "%s%s", argv[i], i+1 < argc ? " " : "\n");
|
|
exit();
|
|
}
|