version 1.18, 2011/09/17 15:29:19 |
version 1.19, 2013/11/28 18:24:55 |
|
|
(void)printf("\\\n"); |
(void)printf("\\\n"); |
count = 0; |
count = 0; |
} |
} |
if (isascii(*s) && isprint(*s) && *s != '\\') { |
if (isascii((unsigned char)*s) && isprint((unsigned char)*s) |
|
&& *s != '\\') { |
(void)putchar(*s); |
(void)putchar(*s); |
count++; |
count++; |
} else if (*s != '\n') { |
} else if (*s != '\n') { |
|
|
while ((c = *src++) != '\0') { |
while ((c = *src++) != '\0') { |
if (c == '&') |
if (c == '&') |
no = 0; |
no = 0; |
else if (c == '\\' && isdigit(*src)) |
else if (c == '\\' && isdigit((unsigned char)*src)) |
no = *src++ - '0'; |
no = *src++ - '0'; |
else |
else |
no = -1; |
no = -1; |