Lines Matching defs:sub
63 register char *sub=0, *cp=(char*)np;
80 Fun = sh_arith(shp,sub=stakptr(offset));
108 sub = nv_refsub(np);
119 if(sub)
120 nv_putsub(np,sub,assign==NV_ASSIGN?ARRAY_ADD:0);
125 if(sub)
129 sub = cp;
150 sfprintf(shp->strbuf,"%s%s%c",nv_name(np),sub,0);
151 sub = sfstruse(shp->strbuf);
153 if(strchr(sub,'$'))
154 sub = sh_mactrim(shp,sub,0);
158 np = nv_open(sub,shp->var_tree,assign);
163 cp = nv_endsubscript(np,sub,NV_ADD|NV_SUBQUOTE|(ap&&ap->fixed?NV_FARRAY:0));
165 cp = nv_endsubscript(np,sub,NV_ADD|NV_SUBQUOTE);
182 sub = cp;