Lines Matching refs:arg
45 register char *arg;
65 edit = opt_info.arg;
93 errormsg(SH_DICT,2, "%s", opt_info.arg);
96 errormsg(SH_DICT,ERROR_usage(2), "%s", opt_info.arg);
107 while(arg=argv[1])
109 flag = hist_expand(arg,&replace);
122 while(flag<1 && (arg=argv[1]))
125 if(!replace && strchr(arg+1,'='))
127 replace = arg;
131 else if(isdigit(*arg) || *arg == '-')
134 do arg++;
135 while(isdigit(*arg));
136 if(*arg==0)
138 arg = argv[1];
139 range[++flag] = (int)strtol(arg, (char**)0, 10);
140 if(*arg == '-')
187 arg = "\n\t";
196 arg = "\n";
205 hist_list(shp->gd->hist_ptr,outfile,hist_tell(shp->gd->hist_ptr,range[flag]),0,arg);
216 arg = edit;
217 if(!arg && !(arg=nv_getval(sh_scoped(shp,HISTEDIT))) && !(arg=nv_getval(sh_scoped(shp,FCEDNOD))))
219 arg = (char*)e_defedit;
220 if(*arg!='/')
228 if (strcmp (arg, "pad") == 0)
242 if(*arg != '-')
245 com[0] = arg;