Lines Matching refs:optflags
73 if (name && (toys.optflags&FLAG_H)) printf("%s%c", name, dash);
74 if (!line || (lcount && (toys.optflags&FLAG_n)))
76 if (bcount && (toys.optflags&FLAG_b)) printf("%ld%c", bcount-1, dash);
114 if (toys.optflags & FLAG_F) {
119 if (toys.optflags & FLAG_x) {
120 int i = (toys.optflags & FLAG_i);
128 if (toys.optflags & FLAG_i) s = strnstr(line, seek->arg);
143 if (toys.optflags & FLAG_x)
146 if (!rc && (toys.optflags & FLAG_w)) {
164 if (toys.optflags & FLAG_v) {
165 if (toys.optflags & FLAG_o) {
185 if (toys.optflags & FLAG_q) xexit();
186 if (toys.optflags & FLAG_l) {
192 if (toys.optflags & FLAG_o)
196 if (!(toys.optflags & FLAG_c)) {
198 ((toys.optflags & FLAG_o) ? matches.rm_so : 0);
200 if (!(toys.optflags & FLAG_o)) {
217 if (!(toys.optflags & FLAG_o)) break;
247 if ((toys.optflags & FLAG_m) && mcount >= TT.m) break;
250 if (toys.optflags & FLAG_c) outline(0, ':', name, mcount, 0, 0);
289 if (!(toys.optflags & FLAG_F)) {
295 len += strlen(al->arg)+1+!(toys.optflags & FLAG_E);
300 if (!(toys.optflags & FLAG_E)) *(s++) = '\\';
303 *(s-=(1+!(toys.optflags & FLAG_E))) = 0;
306 ((toys.optflags & FLAG_E) ? REG_EXTENDED : 0) |
307 ((toys.optflags & FLAG_i) ? REG_ICASE : 0));
325 if (new->parent && !(toys.optflags & FLAG_h)) toys.optflags |= FLAG_H;
341 TT.indelim = '\n' * !(toys.optflags&FLAG_z);
342 TT.outdelim = '\n' * !(toys.optflags&FLAG_Z);
345 if (*toys.which->name == 'e') toys.optflags |= FLAG_E;
346 if (*toys.which->name == 'f') toys.optflags |= FLAG_F;
357 if (!(toys.optflags & FLAG_h) && toys.optc>1) toys.optflags |= FLAG_H;
360 if (toys.optflags & FLAG_s) {
365 if (toys.optflags & FLAG_r) {