NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line

This commit is contained in:
Gregory Nutt
2014-01-10 15:23:26 -06:00
parent f1540e461c
commit 819a4b5779
7 changed files with 197 additions and 738 deletions

View File

@@ -39,22 +39,11 @@
#include <nuttx/config.h>
#include <sys/stat.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sched.h>
#include <fcntl.h>
#include <errno.h>
#include <debug.h>
#include <nuttx/version.h>
#include <apps/nsh.h>
#ifdef CONFIG_NSH_BUILTIN_APPS
# include <nuttx/binfmt/builtin.h>
#endif
#include "nsh.h"
#include "nsh_console.h"