627 |
char const *p; |
char const *p; |
628 |
char const *pnul; |
char const *pnul; |
629 |
|
|
630 |
/* FIXME: Remove this restriction. */ |
/* FIXME: Remove these restrictions. */ |
631 |
if (eolbyte != '\n') |
if (eolbyte != '\n') |
632 |
error (2, 0, _("The -P and -z options cannot be combined")); |
error (2, 0, _("The -P and -z options cannot be combined")); |
633 |
|
if (memchr(pattern, '\n', size)) |
634 |
|
error (2, 0, _("The -P option only supports a single pattern")); |
635 |
|
|
636 |
*n = '\0'; |
*n = '\0'; |
637 |
if (match_lines) |
if (match_lines) |