version 1.23, 2005/10/11 01:00:41 |
version 1.24, 2005/11/18 17:35:17 |
|
|
switch (getkey(FALSE)) { |
switch (getkey(FALSE)) { |
case 'y': |
case 'y': |
case ' ': |
case ' ': |
if (lreplace((RSIZE)plen, news, f) == FALSE) |
if (lreplace((RSIZE)plen, news) == FALSE) |
return (FALSE); |
return (FALSE); |
rcnt++; |
rcnt++; |
break; |
break; |
case '.': |
case '.': |
if (lreplace((RSIZE)plen, news, f) == FALSE) |
if (lreplace((RSIZE)plen, news) == FALSE) |
return (FALSE); |
return (FALSE); |
rcnt++; |
rcnt++; |
goto stopsearch; |
goto stopsearch; |
|
|
goto stopsearch; |
goto stopsearch; |
case '!': |
case '!': |
do { |
do { |
if (lreplace((RSIZE)plen, news, f) == FALSE) |
if (lreplace((RSIZE)plen, news) == FALSE) |
return (FALSE); |
return (FALSE); |
rcnt++; |
rcnt++; |
} while (forwsrch() == TRUE); |
} while (forwsrch() == TRUE); |
|
|
plen = strlen(pat); |
plen = strlen(pat); |
while (forwsrch() == TRUE) { |
while (forwsrch() == TRUE) { |
update(); |
update(); |
if (lreplace((RSIZE)plen, news, f) == FALSE) |
if (lreplace((RSIZE)plen, news) == FALSE) |
return (FALSE); |
return (FALSE); |
|
|
rcnt++; |
rcnt++; |