summaryrefslogtreecommitdiff
path: root/userspace/fsh.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-10-09 10:31:33 +0200
committerMiguel <m.i@gmx.at>2018-10-09 10:31:33 +0200
commita6a11437a390fb7e95fe995214d82bf5dbfe1eaf (patch)
tree2e45b4c1cee8a1ecb70cd773185154448e7f7ab0 /userspace/fsh.c
parentfe8180d88540bfa96595dcc58290de5425e534e3 (diff)
something wrnog with our pipes
Diffstat (limited to 'userspace/fsh.c')
-rw-r--r--userspace/fsh.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/userspace/fsh.c b/userspace/fsh.c
index 62cd27e..76c0954 100644
--- a/userspace/fsh.c
+++ b/userspace/fsh.c
@@ -33,6 +33,7 @@ void version()
{
puts("Fool's Shell version git-commit:" GIT_REVISION "\ncompiled on " __DATE__ " at " __TIME__);
}
+
void help()
{
puts( "\nfoolshell: supported built-in commands/functions:\n\n"
@@ -58,6 +59,8 @@ void prompt()
int main(int argc, char **argv)
{
+ while(1);
+
for(int i=0;i<argc;i++)
{
if(!strcmp(argv[i],"--version"))
@@ -242,7 +245,7 @@ bool process(char *buf)
int last=0;
for(last=0;token[last+1]!=NULL;last++);
- printf("last: %s\n",token[last]);
+ //printf("last: %s\n",token[last]);
if(strcmp(token[last],"&"))_wait(pid);
}