Quiet the noise about files created and removed.
This commit is contained in:
parent
0dc0b29a92
commit
8b0eae7594
1 changed files with 0 additions and 3 deletions
|
@ -238,7 +238,6 @@ sub create_subj {
|
||||||
my ($subj) = @_;
|
my ($subj) = @_;
|
||||||
my $fname = "info/$subj.t";
|
my $fname = "info/$subj.t";
|
||||||
|
|
||||||
print " Creating $fname\n";
|
|
||||||
print "WARNING: $subj is a NEW subject\n"
|
print "WARNING: $subj is a NEW subject\n"
|
||||||
unless grep(/^$subj$/, @Subjects);
|
unless grep(/^$subj$/, @Subjects);
|
||||||
sysopen(SUBJ, $fname, O_WRONLY | O_EXCL | O_CREAT)
|
sysopen(SUBJ, $fname, O_WRONLY | O_EXCL | O_CREAT)
|
||||||
|
@ -275,11 +274,9 @@ EOF
|
||||||
sub create_subjects {
|
sub create_subjects {
|
||||||
my (@colsubj, @rowsubj, @subj);
|
my (@colsubj, @rowsubj, @subj);
|
||||||
|
|
||||||
print " Removing Subjects\n";
|
|
||||||
for (@Subjects) {
|
for (@Subjects) {
|
||||||
unlink "info/$_.t";
|
unlink "info/$_.t";
|
||||||
}
|
}
|
||||||
print " Creating info/TOP.t\n";
|
|
||||||
open(TOP, ">info/TOP.t")
|
open(TOP, ">info/TOP.t")
|
||||||
or die "Can't open info/TOP.t: $!";
|
or die "Can't open info/TOP.t: $!";
|
||||||
print TOP <<EOF;
|
print TOP <<EOF;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue