Lines Matching refs:replace
52 char *replace = 0; /* replace old=new */
109 flag = hist_expand(arg,&replace);
111 sfputr(sfstdout, replace, '\n');
114 if(replace)
115 free(replace);
125 if(!replace && strchr(arg+1,'='))
127 replace = arg;
258 if(replace)
259 hist_subst(error_info.id,fdo,replace);
286 static void hist_subst(const char *command,int fd,char *replace)
288 register char *newp=replace;
303 if((sp=sh_substitute(string,replace,newp))==0)