Lines Matching defs:begin
212 char *av[2], *begin , *dir=0;
263 begin = out = find_begin(outbuff,last,0,&var);
294 if(*begin=='~' && !strchr(begin,'/'))
303 char *cp=begin, *left=0, *saveout=".";
308 if(!var && !strchr(ap->argval,'/') && (((cp==outbuff&&ep->sh->nextprompt==1) || (strchr(";&|(",size)) && (cp==outbuff+1||size=='('||cp[-2]!='>') && *begin!='~' )))
318 begin += (dir-begin);
324 if(begin>outbuff && (begin[-1]=='"' || begin[-1]=='\''))
325 begin--;
359 size = *eol - (out-begin);
367 saveout = begin;
396 out = strcopy(begin,path_basename(cp= *com++));
404 *begin++ = var;
405 out = strcopy(begin,cp);
409 out = strcopy(begin,fmtx(*com));
413 out = strcopy(begin,*com++);
417 while (*com && *begin)
420 out = overlaid(begin,path_basename(*com++),nocase);
422 out = overlaid(begin,*com++,nocase);
434 if(*cp=='/' && (pp=path_dirfind(ep->sh->pathlist,cp,'/')) && (np=nv_search(begin,ep->sh->track_tree,NV_ADD)))
436 out = strcopy(begin,cp);
439 if((cp=fmtx(begin))!=begin)
440 out = strcopy(begin,cp);
441 if(var=='$' && begin[-1]=='{')
447 else if((cp=fmtx(begin))!=begin)
449 out = strcopy(begin,cp);
453 if(*begin==0)
469 if(var=='$' && begin[-1]=='{')