summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8bbbeca)
svn path=/trunk/; revision=18962
LPCTSTR tmp;
BOOL bEchoThisLine;
BOOL bModeSetA;
LPCTSTR tmp;
BOOL bEchoThisLine;
BOOL bModeSetA;
ReadCommand (readline, CMDLINE_LENGTH);
ip = readline;
bEchoThisLine = FALSE;
ReadCommand (readline, CMDLINE_LENGTH);
ip = readline;
bEchoThisLine = FALSE;
+ else
+ {
+ bIsBatch = TRUE;
+ }
/* skip leading blanks */
while ( _istspace(*ip) )
/* skip leading blanks */
while ( _istspace(*ip) )
if (*commandline)
{
ParseCommandLine (commandline);
if (*commandline)
{
ParseCommandLine (commandline);
- if (bEcho && !bIgnoreEcho)
+ if (bEcho && !bIgnoreEcho && (!bIsBatch || bEchoThisLine))
ConOutChar ('\n');
bIgnoreEcho = FALSE;
}
ConOutChar ('\n');
bIgnoreEcho = FALSE;
}