| line |
!l |
l&&!r |
l&&r |
condition |
|
193
|
0 |
0 |
0 |
ref $var eq "HASH" and @_ == 1 |
|
428
|
0 |
30 |
0 |
@ARGV and $ARGV[0] eq "--norc" |
|
|
30 |
0 |
0 |
@ARGV and $ARGV[0] eq "--norc" and shift @ARGV |
|
707
|
0 |
0 |
0 |
@opt_chdir == 1 and @argv_files == 1 |
|
|
0 |
0 |
0 |
@opt_chdir == 1 and @argv_files == 1 and @opt_glob == 0 |
|
717
|
30 |
0 |
0 |
@ARGV > 1 || $opt_readlist and not $opt_h |
|
965
|
0 |
0 |
0 |
usage() and exit |
|
1043
|
30 |
0 |
0 |
$opt_d{'n'} and $opt_d{'f'} |
|
1085
|
28 |
0 |
0 |
$opt_uniqcolor and $opt_d{'c'} |
|
1191
|
30 |
28 |
0 |
@ARGV == 0 and @opt_chdir |
|
|
58 |
0 |
0 |
@ARGV == 0 and @opt_chdir and @argv_files || @opt_glob |
|
1200
|
28 |
0 |
0 |
$opt_readlist && read_stdin() |
|
1339
|
28 |
0 |
0 |
!$opt_all && $blockend ne '' && ($opt_blockend || $opt_p || $opt_A || $opt_B || @opt_block) |
|
1382
|
28 |
0 |
0 |
$opt_n and $opt_linestyle eq "separate" |
|
1386
|
28 |
0 |
0 |
$opt_b and $opt_blockstyle eq "separate" |
|
1423
|
0 |
0 |
0 |
$opt_n and $opt_linestyle eq "line" |
|
1457
|
28 |
0 |
0 |
$opt_b and $opt_blockstyle eq "line" |
|
1467
|
0 |
28 |
0 |
$is_top and $_top ne "" |
|
1469
|
0 |
28 |
0 |
$opt_newline and not $block =~ /\n\z/u |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
428
|
0 |
0 |
30 |
@ARGV and $ARGV[0] eq "--norc" and shift @ARGV or $ENV{'GREPLE_NORC'} |
|
484
|
0 |
30 |
0 |
$opt_ocode || $default_ocode |
|
495
|
0 |
0 |
30 |
$opt_man or $opt_show |
|
|
0 |
0 |
30 |
$opt_man or $opt_show or $opt_path |
|
580
|
30 |
0 |
0 |
$opt_filter or grep {not $_->[0] =~ /^(not|may)/u;} @opt_pattern |
|
581
|
0 |
0 |
0 |
shift @ARGV // &usage |
|
675
|
0 |
0 |
0 |
$max <= 0 or $_[0] <= $max |
|
700
|
0 |
0 |
30 |
$opt_H || $opt_l |
|
707
|
0 |
0 |
0 |
$opt_h or @opt_chdir == 1 and @argv_files == 1 and @opt_glob == 0 |
|
716
|
30 |
0 |
0 |
@ARGV or @argv_files |
|
|
30 |
0 |
0 |
@ARGV or @argv_files or @opt_glob |
|
|
0 |
0 |
0 |
@ARGV or @argv_files or @opt_glob or $opt_readlist |
|
717
|
0 |
0 |
30 |
@ARGV > 1 || $opt_readlist |
|
786
|
30 |
0 |
0 |
$opt_color eq 'always' || $opt_color eq 'auto' && (!$opt_o && -t STDOUT) |
|
795
|
54 |
0 |
0 |
$_esc{$1} // $1 |
|
843
|
0 |
0 |
30 |
$color_index{'A'} or $color_index{'D'} |
|
884
|
0 |
0 |
0 |
$opt_A ||= $opt_C |
|
885
|
0 |
0 |
0 |
$opt_B ||= $opt_C |
|
950
|
0 |
0 |
0 |
$pat->regex // $pat->string |
|
1115
|
28 |
0 |
0 |
$opt_exit // $stat{'match_effective'} == 0 |
|
1175
|
0 |
0 |
0 |
$help || join(' ', shellquote(@option)) |
|
1191
|
0 |
0 |
0 |
@argv_files || @opt_glob |
|
1200
|
30 |
0 |
28 |
defined($file = shift @ARGV) or defined($file = $opt_readlist && read_stdin()) |
|
1207
|
0 |
0 |
0 |
open STDIN, "-|" or exec "w3m -dump $file" |
|
1406
|
40 |
0 |
0 |
do {
if (ref $callback eq "CODE") {
&$callback($start, $end, $pi, $b);
}
elsif (callable($callback)) {
$callback->call(&FILELABEL, $file, "start", $start, "end", $end, "index", $pi, "match", $b);
}
else {
die;
}
} // $b |