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