diff options
Diffstat (limited to 'usr.bin/osh')
-rw-r--r-- | usr.bin/osh/osh.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c index 4f90d47..0cac664 100644 --- a/usr.bin/osh/osh.c +++ b/usr.bin/osh/osh.c @@ -83,7 +83,6 @@ struct builtin_cmd { static struct builtin_cmd cmds[] = { {"help",cmd_help}, - {"echo",cmd_echo}, {"exit",cmd_exit}, {"reboot",cmd_reboot}, {"shutdown", cmd_shutdown}, @@ -117,16 +116,6 @@ cmd_shutdown(int argc, char *argv[]) } static void -cmd_echo(int argc, char *argv[]) -{ - for (i = 1; i < argc; i++) { - fputs(argv[i], stdout); - putchar(' '); - } - putchar('\n'); -} - -static void cmd_clear(int argc, char *argv[]) { fputs("\033[H", stdout); |