Author: tkreuzer Date: Tue May 1 21:00:16 2012 New Revision: 56471
URL: http://svn.reactos.org/svn/reactos?rev=56471&view=rev Log: [CMD] - Add a newline to the output of the echo command - Remove debug stuff
Modified: trunk/reactos/base/shell/cmd/copy.c trunk/reactos/base/shell/cmd/echo.c trunk/reactos/base/shell/cmd/type.c
Modified: trunk/reactos/base/shell/cmd/copy.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/copy.c?rev=5... ============================================================================== --- trunk/reactos/base/shell/cmd/copy.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/cmd/copy.c [iso-8859-1] Tue May 1 21:00:16 2012 @@ -582,7 +582,6 @@ /* If no destination was entered then just use the current directory as the destination */ GetCurrentDirectory(MAX_PATH, szDestPath); - printf("szDestPath = %S\n", szDestPath); } else { @@ -647,7 +646,6 @@ { /* Something's seriously wrong! */ UseThisName = szDestPath; - printf("\n##########\n\n"); }
do @@ -677,7 +675,6 @@ _tcsncat(szSrcPath, appendPointer, 1); appendPointer++; } -printf("szSrcPath = %S\n\n", szSrcPath);
if (_tcschr(arg[nSrc], _T(',')) != NULL) {
Modified: trunk/reactos/base/shell/cmd/echo.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/echo.c?rev=5... ============================================================================== --- trunk/reactos/base/shell/cmd/echo.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/cmd/echo.c [iso-8859-1] Tue May 1 21:00:16 2012 @@ -83,6 +83,7 @@ { /* skip the first character */ ConOutPuts(param + 1); + ConOutPuts("\n"); } return 0; }
Modified: trunk/reactos/base/shell/cmd/type.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/type.c?rev=5... ============================================================================== --- trunk/reactos/base/shell/cmd/type.c [iso-8859-1] (original) +++ trunk/reactos/base/shell/cmd/type.c [iso-8859-1] Tue May 1 21:00:16 2012 @@ -128,7 +128,7 @@ } }
- ConOutPrintf(_T("\n")); + ConOutPuts(_T("\n")); CloseHandle(hFile); }