Lines Matching refs:file
5 # The contents of this file are subject to the terms of the
7 # You may not use this file except in compliance with the License.
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
46 # file. This substitution is performed after stripping
68 # String to use in place of file name when using stdin
81 # process the path list in a given file
84 my ($ignore, $file, $line);
108 ($file = $1) =~ s/[ ]*$//;
111 eval '$file =~ s' . $pat;
116 ($ignore = 1, last) if $file =~ /$pat/;
119 # construct the actual path to the file
120 my $path = $opt_b . $file;
125 print "$name:$line: $file\n" unless !$opt_m && -e $path;
192 my $file;
197 foreach $file (@ARGV) {
198 if (! -e $file) {
199 warn "$0: $file doesn't exist\n";
200 } elsif (! -f $file) {
201 warn "$0: $file isn't a regular file\n";
202 } elsif (! -T $file) {
203 warn "$0: $file isn't a text file\n";
204 } elsif (open FILE, "<$file") {
205 process_paths(\*FILE, $file);
207 warn "$0: $file: $!\n";