news
news();
void news(void);
char news[NPAT]; /* replacement string */
if (eread("Query replace %s with: ", news, NPAT,
ewprintf("Query replacing %s with %s:", re_pat, news);
if (re_doreplace((RSIZE)plen, news) == FALSE)
if (re_doreplace((RSIZE)plen, news) == FALSE)
if (re_doreplace((RSIZE)plen, news) == FALSE)
if (re_pat[0] == '^' && news[0] == '\0')
char news[NPAT]; /* replacement string */
if (eread("Replace %s with: ", news, NPAT,
if (re_doreplace((RSIZE)plen, news) == FALSE)
if (re_pat[0] == '^' && news[0] == '\0')
char news[NPAT], *rep; /* replacement string */
if ((rep = eread("Query replace %s with: ", news, NPAT,
news[0] = '\0';
ewprintf("Query replacing %s with %s:", pat, news);
if (lreplace((RSIZE)plen, news) == FALSE)
if (lreplace((RSIZE)plen, news) == FALSE)
if (lreplace((RSIZE)plen, news) == FALSE)
char news[NPAT];
r = eread("Replace string %s with: ", news, NPAT,
if (lreplace((RSIZE)plen, news) == FALSE)