diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 6e4e92b9b..26df3e6b4 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -443,7 +443,7 @@ iocshBody (const char *pathname, const char *commandLine) struct iocshRedirect *redirect = NULL; int sep; const char *prompt = NULL; - const char *ifs = " \t(),"; + const char *ifs = " \t(),\r"; iocshArgBuf *argBuf = NULL; int argBufCapacity = 0; struct iocshCommand *found;