Lines Matching refs:nl
23 * nl.c
31 "[-?\n@(#)$Id: nl (AT&T Research) 2003-03-24 $\n]"
33 "[+NAME? nl - line numbering filter ]"
207 Nl_t nl;
211 nl.width = 6;
212 nl.startnum = 1;
213 nl.blines = 1;
214 nl.incr = 1;
215 nl.delim1 = '\\';
216 nl.delim2 = ':';
217 nl.section[SECTION_BODY] = TYPE_TEXT;
218 nl.section[SECTION_HEAD] = TYPE_NONE;
219 nl.section[SECTION_FOOT] = TYPE_NONE;
220 nl.format = FORMAT_RN;
221 nl.sep = "\t";
222 nl.pflag = 0;
227 nl.pflag |= 1;
230 nl.delim1 = *opt_info.arg;
232 nl.delim2 = opt_info.arg[1];
244 nl.section[m] = TYPE_ALL;
247 nl.section[m] = TYPE_TEXT;
250 nl.section[m] = TYPE_NONE;
253 nl.section[m] = &re[m];
260 if((nl.incr=opt_info.num) < 0)
264 if((nl.blines=opt_info.num) < 0)
268 nl.format = opt_info.num;
271 nl.sep = opt_info.arg;
274 nl.startnum = opt_info.num;
277 if((nl.width=opt_info.num) < 0)
293 n = donl(&nl,in,sfstdout);
296 if(nl.section[m] == (void*)&re[m])