diff --git a/src/iocsh/iocsh.cpp b/src/iocsh/iocsh.cpp index 6335ea6b1..ec47af110 100644 --- a/src/iocsh/iocsh.cpp +++ b/src/iocsh/iocsh.cpp @@ -278,6 +278,9 @@ iocsh (const char *pathname) if (*line == '#') continue; + if ((prompt == NULL) && *line) + puts(line); + /* * Break line into words */