From 04e8747314e10c0d39d34f3b68f0c9172b457d74 Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 30 Dec 2020 19:37:25 -0600 Subject: [PATCH] Added note on vsh --- TODO | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/TODO b/TODO index e2bb6ab..e01cbed 100755 --- a/TODO +++ b/TODO @@ -27,6 +27,22 @@ cal needs the ability to show a whole year calendar This needs to be done eventually. -Kat +sh probably needs to be trashed and restarted + When I started it, it was from a small online tutorial on the + basics of how shells work. It was more a demonstration of + things like forking and the execvp and waitpid functions. It + wasn't actually intended to grow into a proper shell. As it + stands this is just going to keep getting cobbled together + until it collapses under its own weight. It's probably better + to restart now, parse input using lex and yacc instead of + doing it ourselves, and work from there on implementation + of everything. We know the basics of how a shell does its + thing (fork, execvp, waitpid), now to use that with newer + knowledge of building language parsers with things like lex + and yacc, getting command line arguments with getopts, and + other things that will lead to a proper, fully-formed shell. + -Kat + UTILITIES *********