Codebase list apt-file / 271f671
Merge branch 'grep-F' into 'master' apt-file: use grep -F instead of deprecated fgrep See merge request apt-team/apt-file!2 Niels Thykier 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
210210 or error("Close read end of pipeline: $!");
211211 if ($grep_pattern ne '.' and not $Conf->{is_regexp}) {
212212 my ($grep_pid);
213 my @grep_cmd = ('fgrep');
213 my @grep_cmd = ('grep', '-F');
214214 push(@grep_cmd, '-i') if $Conf->{ignore_case};
215215 if ($Conf->{from_file}) {
216216 push(@grep_cmd, '-f', $Conf->{zgrep_tmpfile});