/usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Term/ReadLine/Gnu/XS/list_completion_function.al is in libterm-readline-gnu-perl 1.35-3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # NOTE: Derived from blib/lib/Term/ReadLine/Gnu/XS.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Term::ReadLine::Gnu::XS;
#line 547 "blib/lib/Term/ReadLine/Gnu/XS.pm (autosplit into blib/lib/auto/Term/ReadLine/Gnu/XS/list_completion_function.al)"
#
# List Completion Function
#
sub list_completion_function ( $$ ) {
my($text, $state) = @_;
$_i = $state ? $_i + 1 : 0; # clear counter at the first call
my $cw = $Attribs{completion_word};
for (; $_i <= $#{$cw}; $_i++) {
return $cw->[$_i] if ($cw->[$_i] =~ /^\Q$text/);
}
return undef;
}
# end of Term::ReadLine::Gnu::XS::list_completion_function
1;
|