diff --git a/cmdedit.c b/cmdedit.c index 314e8cd66..9e162c6ee 100644 --- a/cmdedit.c +++ b/cmdedit.c @@ -319,6 +319,8 @@ extern int cmdedit_read_input(int inputFd, int outputFd, strcpy( matchBuf, parsenextc); matchBuf[cursor+1] = '\0'; + fprintf(stderr, "matchBuf='%s'\n", matchBuf); + /* skip leading white space */ tmp = matchBuf; while (*tmp && isspace(*tmp)) { diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 314e8cd66..9e162c6ee 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -319,6 +319,8 @@ extern int cmdedit_read_input(int inputFd, int outputFd, strcpy( matchBuf, parsenextc); matchBuf[cursor+1] = '\0'; + fprintf(stderr, "matchBuf='%s'\n", matchBuf); + /* skip leading white space */ tmp = matchBuf; while (*tmp && isspace(*tmp)) {