version 1.13, 1999/10/05 22:06:24 |
version 1.14, 1999/11/11 11:35:17 |
|
|
register char *ecp; |
register char *ecp; |
|
|
if (commandShell->noPrint) { |
if (commandShell->noPrint) { |
ecp = Str_FindSubstring(cp, commandShell->noPrint); |
ecp = strstr(cp, commandShell->noPrint); |
while (ecp != NULL) { |
while (ecp != NULL) { |
if (cp != ecp) { |
if (cp != ecp) { |
*ecp = '\0'; |
*ecp = '\0'; |
|
|
while (*cp == ' ' || *cp == '\t' || *cp == '\n') { |
while (*cp == ' ' || *cp == '\t' || *cp == '\n') { |
cp++; |
cp++; |
} |
} |
ecp = Str_FindSubstring(cp, commandShell->noPrint); |
ecp = strstr(cp, commandShell->noPrint); |
} else { |
} else { |
return cp; |
return cp; |
} |
} |