Lines Matching refs:from
1 /* cut.c - print selected ranges from a file
7 * Deviations from posix: added -DF. We can only accept 512 selections, and
21 Print selected parts of lines from each FILE to standard output.
23 Each selection LIST is comma separated, either numbers (counting from 1)
25 from start). By default selection ranges are sorted and collated, use -D
228 sprintf(buf, "bad -%c", "CFfcb"[i]); // reverse order from newtoy optstr
235 int from, to;
239 for (to = 0, from = 2; from/2 < TT.pairs; from += 2) {
240 if (pairs[from] > pairs[to+1]) {
242 memcpy(pairs+to, pairs+from, 2*sizeof(unsigned));
243 } else if (pairs[from+1] > pairs[to+1]) pairs[to+1] = pairs[from+1];