Add: program: words version 1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "system.h"
|
||||
#include "../libc/stdio.h"
|
||||
#include "../libc/string.h"
|
||||
#include "../programs/programs.h"
|
||||
|
||||
#define BUFFER_SIZE 256
|
||||
|
||||
@@ -26,6 +27,10 @@ void shell_install()
|
||||
{
|
||||
printf("%d", 4/0);
|
||||
}
|
||||
else if (strcmp(input_buffer, "words") == 0)
|
||||
{
|
||||
program_words();
|
||||
}
|
||||
else {
|
||||
printf("Unknown command %s\n", input_buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user