Lines Matching refs:newpat
45 char newpat[PATLEN + 1]; /* new pattern */ variable
234 getaline(newpat, COLS - sizeof (appendprompt), c, in command()
236 shellpath(filename, sizeof (filename), newpat); in command()
255 if (getaline(newpat, COLS - sizeof (readprompt), '\0', in command()
258 shellpath(filename, sizeof (filename), newpat); in command()
277 if (getaline(newpat, in command()
284 (void) strcat(strcat(newpat, " >"), temp2); in command()
287 if ((file = mypopen(newpat, "w")) == NULL) { in command()
290 newpat); in command()
390 if (getaline(newpat, in command()
393 (i = atoi(newpat)) > 0) { in command()
401 if (getaline(newpat, COLS - fldcolumn - 1, commandc, in command()
403 (void) strcpy(pattern, newpat); in command()
411 (void) getaline(newpat, in command()
429 access(newpat, READ) == 0) { in command()
431 edit(newpat, "1"); in command()
645 for (s = newpat; *s != '\0'; ++s) { /* new text */ in changestring()