Return to tr.c CVS log | Up to [local] / src / usr.bin / tr |
version 1.6, 2001/11/19 19:02:17 | version 1.7, 2002/02/09 02:03:28 | ||
---|---|---|---|
|
|
||
errx(1, "empty string2"); | errx(1, "empty string2"); | ||
/* If string2 runs out of characters, use the last one specified. */ | /* If string2 runs out of characters, use the last one specified. */ | ||
ch = s2.lastch; | |||
if (sflag) | if (sflag) | ||
while (next(&s1)) { | while (next(&s1)) { | ||
string1[s1.lastch] = ch = s2.lastch; | string1[s1.lastch] = ch = s2.lastch; |