don't skip whitespace in echo command.  patch by irc:ravelo.  bug #1042.
Modified: trunk/reactos/subsys/system/cmd/cmd.c
  _____
Modified: trunk/reactos/subsys/system/cmd/cmd.c
--- trunk/reactos/subsys/system/cmd/cmd.c       2005-11-21 18:02:28 UTC
(rev 19411)
+++ trunk/reactos/subsys/system/cmd/cmd.c       2005-11-21 18:10:55 UTC
(rev 19412)
@@ -597,9 +597,12 @@
                }
                */
-               /* Skip over whitespace to rest of line */
-               while (_istspace (*rest))
+               /* Skip over whitespace to rest of line, exclude 'echo'
command */
+               if (_tcsicmp (com, _T("echo")))
+               {
+                       while (_istspace (*rest))
                        rest++;
+               }
                /* Scan internal command table */
                for (cmdptr = cmds;; cmdptr++)
    
    
    
    
    
 
                    
                    
                        
                        Show replies by date