From 42953c05f72fff8cee5f562e7b4e1d30687b8531 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Sat, 2 Oct 2004 15:34:47 +0000 Subject: [PATCH] Treat \r as a separator -- should allow DOS-format scripts to work. --- src/iocsh/iocsh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;