c='';
h='-H';
i='';
-k='no';
l='';
m='';
n='';
}
-while getopts "A:B:C:chiklm:nrt:x:" opt; do
+while getopts "A:B:C:chilm:nrt:x:" opt; do
case "$opt" in
A) A="-A$OPTARG"; ;;&
B) B="-B$OPTARG"; ;;&
c) c='-c'; ;;&
h) h='-h'; ;;&
i) i='-i'; ;;&
- k | l) k='yes'; ;;&
l) l='-l'; ;;&
m) m="-m$OPTARG"; ;;&
n) n='-n'; ;;&
fi \
| xargs pcre2grep "${opts[@]}" -f "$patterns";
fi \
-| sed -E -f <(test "$k" = 'no' && printf '%s\n' 's/^[^: ]+:[0-9]+:/\n\n&\n/') \
| perl -pe "$(test "$r" = 'yes' && printf '%s\n' 's/('"$identifier"')/\033[32m\1\033[0m/' || printf '%s\n' 's///')" \
| if [ -n "$l" ]; then
sort \
Ignore case distinctions in
.IR pattern .
.TP
-.B \-k
-Compact (kurz) output.
-Don't print extra newlines
-(the header is printed in the same line as the first line of a match).
-.TP
.B \-l
Suppress normal output;
instead print the name of each input file
.SH EXAMPLES
.EX
.RB \(ti/src/nginx/unit$ " grepc \-n nxt_sprintf .;"
-\&
-\&
-\&./src/nxt_sprintf.h:15:
-NXT_EXPORT u_char *nxt_cdecl nxt_sprintf(u_char *buf, u_char *end,
+\&./src/nxt_sprintf.h:15:NXT_EXPORT u_char *nxt_cdecl nxt_sprintf(u_char *buf, u_char *end,
const char *fmt, ...);
-\&
-\&
-\&./src/nxt_sprintf.c:58:
-u_char * nxt_cdecl
+\&./src/nxt_sprintf.c:58:u_char * nxt_cdecl
nxt_sprintf(u_char *buf, u_char *end, const char *fmt, ...)
{
u_char *p;