Home | History | Annotate | Download | only in csplit

Lines Matching defs:expr

106 	const char *expr;
180 while (nfiles < maxfiles - 1 && (expr = *argv++) != NULL) {
191 if (*expr == '/' || *expr == '%') {
193 do_rexp(expr);
195 } else if (isdigit((unsigned char)*expr))
196 do_lineno(expr);
198 errx(1, "%s: unrecognised pattern", expr);
366 do_rexp(const char *expr)
375 if ((ecopy = strdup(expr)) == NULL)
379 if ((pofs = strrchr(ecopy, *expr)) == NULL || pofs[-1] == '\\')
380 errx(1, "%s: missing trailing %c", expr, *expr);
394 if (*expr == '/')
440 if (!sflag && *expr == '/')
449 do_lineno(const char *expr)
456 tgtline = strtol(expr, &ep, 10);
458 errx(1, "%s: bad line number", expr);
461 errx(1, "%s: can't go backwards", expr);