Home | History | Annotate | Download | only in posix

Lines Matching defs:from

19     (from FILE or stdin) producing output (by default to stdout).
31 by newlines, followed by all lines from -f SCRIPT_FILEs, in order.
45 everything from the first address to the second address (inclusive). If
55 it isn't a forward slash (to distinguish it from the COMMANDs below).
100 P Print this line up to first newline (from "N")
158 Deviations from posix: allow extended regular expressions with -r,
273 // Apply pattern to line from input file
340 // Deferred disable from regex end match
606 char *from, *to = (char *)logrus;
609 from = to+logrus->arg1;
613 j = stridx(from, line[i]);
705 char *to, *from, mode = 0, d;
707 to = from = *pstr;
709 if (!(d = *(from++))) return 0;
710 if (d == '\\') d = *(from++);
716 while (mode || *from != d) {
717 if (!*from) return 0;
720 if (*from == '[') {
722 if (from[1] == ']') *(to++) = *(from++);
723 } else if (mode && *from == ']') mode = 0;
724 else if (*from == '\\') {
725 if (!from[1]) return 0;
728 if (from[1] == d) from++;
729 else if (from[1]=='\\') *(to++) = *(from++);
731 char c = unescape(from[1]);
735 from+=2;
737 } else *(to++) = *(from++);
740 *(to++) = *(from++);
743 *pstr = from+1;
762 // Remove half-finished entry from list so remalloc() doesn't confuse it
855 // processing later, after we replace \\ with \ we can't tell \\1 from \1
958 // Resume logic differs from 's' case because we don't add a newline
963 // Trim whitespace from "b ;" and ": blah " but only first space in "w x "