summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cmdedit.c2
-rw-r--r--shell/cmdedit.c2
2 files changed, 4 insertions, 0 deletions
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)) {