aboutsummaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-01 05:37:17 +0000
committer_ov4 <ov4@ov4.org>2026-09-01 05:37:17 +0000
commit30726f56c8c522e81e65055ada52f56d95f68575 (patch)
tree000976c50c1fd26f43154db1af8dbcfd6ec50b8e /src/main.cc
parent7d18b6dfe664a3b655e7eed4cc94cd7591506ce1 (diff)
string util
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/main.cc b/src/main.cc
index 04aca2a..d7719b2 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -18,6 +18,8 @@
#include "ground.h"
#include "eval.h"
#include "path.h"
+#include "util/string.h"
+#include "test.h"
using namespace std;
using namespace ov4;
@@ -43,12 +45,6 @@ handler_t *Signal(int signum, handler_t *handler);
// built-in commands
void builtin_command_quit();
-void test()
-{
- cout << find_cmd("ls") << endl;
- exit(0);
-}
-
/*
* main - The shell's main routine
*/
@@ -59,7 +55,7 @@ You are using ccshell. \n\
This is free software; see the source for copying conditions. \
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. \n\
Published under GNU AFFERO GENERAL PUBLIC LICENSE (AGPL) Version 3." << endl;
- //test();
+ //test(argv);
init();
char c;
char cmdline[MAXLINE];