Lines Matching refs:f

141     my ($lvl, $f) = @_;
142 $f =~ s/\n/ /g;
145 my @words = split(/ */, $f);
278 my ($manpage, $fh, $f, $line) = @_;
294 print STDERR "$f:$line:1:ERROR: nroff instruction in input: \".$1\"\n";
318 print STDERR "$f:$line:1:ERROR: ### header is not supported\n";
353 print STDERR "$f:$line:1:ERROR: ## empty header top-level mode\n";
366 print STDERR "$f:$line:1:ERROR: $cmd detected, use ##-style\n";
399 print STDERR "$f:$line:1:ERROR: broken up added-in line:\n";
400 print STDERR "$f:$line:1:ERROR: $d";
415 printf STDERR "$f:$line:%d:ERROR: 2 spaces detected\n",
420 print STDERR "$f:$line:1:WARN: un-escaped < or > used\n";
463 print STDERR "$f:$line:1:ERROR: trailing blank line\n";
492 my ($dir, $manpage, $f, $standalone)=@_;
494 open($fh, "<:crlf", "$dir/$f") ||
495 die "could not find $dir/$f";
554 print STDERR "ERROR: duplicated See-also in $f\n";
602 print STDERR "ERROR: no 'Long:' in $f\n";
606 print STDERR "ERROR: no 'Category:' in $f\n";
610 print STDERR "$f:$line:1:ERROR: no 'Example:' present\n";
614 print STDERR "$f:$line:1:ERROR: no 'Added:' version present\n";
618 print STDERR "$f:$line:1:ERROR: no 'See-also:' field present\n";
622 print STDERR "$f:$line:1:ERROR: no 'C:' field present\n";
626 print STDERR "$f:$line:1:ERROR: no 'SPDX-License-Identifier:' field present\n";
633 print STDERR "$f:$line:1:WARN: unrecognized line in $f, ignoring:\n:'$_';"
638 print STDERR "$f:1:1:ERROR: no proper meta-data header\n";
642 my @desc = render($manpage, $fh, $f, $line);
694 print STDERR "$f:$line:1:ERROR: global scope option does not have global category\n";
702 print STDERR "$f:$line:1:ERROR: unrecognized scope: '$scope'\n";
741 print STDERR "$f:$line:1:ERROR: unrecognized Multi: '$multi'\n";
760 print STDERR "$f:$line:1:WARN: see-also a non-existing option: $k\n";
783 print STDERR "WARN: $f mutexes a non-existing option: $k\n";
854 my $f = join("", @foot);
856 $f =~ s/ +\z//; # remove trailing space
857 print "$f\n";
860 printdesc($manpage, 2, "[1]$f");
866 my ($dir, $f)=@_;
867 $f =~ s/^.*\///;
868 open(F, "<:crlf", "$dir/$f") ||
869 die "could not find $dir/$f";
896 printf STDERR "$f:$line:1:WARN: oversized help text: %d characters\n",
928 foreach my $f (@files) {
929 getshortlong($dir, $f);
934 my ($dir, $manpage, $f)=@_;
936 open($fh, "<:crlf", "$dir/$f") ||
937 die "could not find $dir/$f";
938 my @d = render($manpage, $fh, $f, 1);
1000 foreach my $f (sort keys %helplong) {
1001 my $long = $f;
1015 printf STDERR "$f.md:ERROR: Unknown category '%s'\n",
1031 my $desc = $helplong{$f};
1053 foreach my $f (sort keys %helplong) {
1054 my @categories = split ' ', $catlong{$f};
1075 foreach my $f (sort @files) {
1076 open(F, "<:crlf", "$dir/$f") ||
1077 die "could not read $dir/$f";
1157 my $f = $_;
1158 chomp $f;
1159 if($f =~ /^#/) {
1165 foreach my $f (sort sortnames @files) {
1166 $ret += single($dir, $manpage, $f, 0);
1171 header($dir, $manpage, $f);
1179 my ($f) = @_;
1180 if(single($f, 1)) {
1181 print STDERR "$f: failed\n";
1187 foreach my $f (keys %optlong) {
1188 my @p = split(/ /, $protolong{$f});
1199 my ($dir, $f, @s) = @_;
1200 if($f eq "mainpage") {
1205 elsif($f eq "ascii") {
1210 elsif($f eq "listhelp") {
1214 elsif($f eq "single") {
1218 elsif($f eq "protos") {
1222 elsif($f eq "listcats") {