Lines Matching refs:from

10  * TODO: handle error return from emit(), error_msg/exit consistently
23 (from FILE or stdin) producing output (by default to stdout).
36 by newlines, followed by all lines from -f SCRIPT_FILEs, in order.
50 everything from the first address to the second address (inclusive). If
60 it isn't a forward slash (to distinguish it from the COMMANDs below).
107 P Print this line up to first newline (from "N")
165 Deviations from POSIX: allow extended regular expressions with -r,
254 // Apply pattern to line from input file
327 // Deferred disable from regex end match
610 char *from, *to = (char *)command;
613 from = to+command->arg1;
617 j = stridx(from, line[i]);
687 char *to, *from, mode = 0, d;
690 from = *pstr;
692 if (!(d = *(from++))) return 0;
693 if (d == '\\') d = *(from++);
699 while (mode || *from != d) {
700 if (!*from) return 0;
703 if (*from == '[') {
706 if (from[1]=='-' || from[1]==']') *(to++) = *(from++);
707 } else if (mode == ']' && strchr(".=:", from[1])) {
708 *(to++) = *(from++);
709 mode = *from;
711 } else if (*from == mode) {
714 *(to++) = *(from++);
719 } else if (mode && *from == '-' && from[-1] == from[1]) {
720 from+=2;
722 } else if (*from == '\\') {
723 if (!from[1]) return 0;
726 if (from[1] == d) from++;
727 else if (from[1]=='\\') *(to++) = *(from++);
729 char c = unescape(from[1]);
733 from+=2;
735 } else if (!mode) *(to++) = *(from++);
738 *(to++) = *(from++);
741 *pstr = from+1;
762 // Remove half-finished entry from list so remalloc() doesn't confuse it
864 // processing later, after we replace \\ with \ we can't tell \\1 from \1
968 // Resume logic differs from 's' case because we don't add a newline