Lines Matching refs:file
4 # build time. Each argument provided on the command line is the path to a file
5 # that needs to be updated with the current verison information. The file
7 # Each file is read, and all occurrences of the following strings are replaced
35 die "newvers: Can't read file \"$fileName\"\n";
41 open (OUT, ">$fileName") or die "newvers: Can't write file \"$fileName\"\n";
115 my $file;
116 foreach $file (@ARGV) {
117 print "newvers.pl: Stamping version \"$VERSION_LONG\" into \"$file\" ...";
118 my $data = &ReadFile($file);
132 &WriteFile($file, $data);