Skip to content

Commit

Permalink
Removing old, commented out cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
techhat committed Sep 10, 2011
1 parent 84663e6 commit aacf157
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions nzbtools
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ sub nzbsize {
else {
$date = "$oldest - $newest ";
}
#print "Bytes: $totalbytes\n";
print "$date\t";
print "$hr\t";
print "$filecount\t";
Expand All @@ -184,7 +183,6 @@ sub nzbsize {
sub nzbinfo {
my ( $file_name ) = @_;
print "NZB File: $file_name\n";
#print "Bytes: $totalbytes\n";
print "Size: $hr\n";
print "Number of files: $filecount\n";
# Handle nfo file(s) first, since they describe a post
Expand All @@ -208,18 +206,13 @@ sub nzbls {
my ( $width ) = GetTerminalSize();
my $filewidth = $widthsubject;
$filewidth = $widthguessedname if $trytoguess;
#print "$width\n";
#print Dumper \%files;
#print $widthbytes + $widthdate + $widthname + $widthsegments + $widthposter;
#print "\n";
my $printformat = '%-' . $widthguessedname
. 's %' . $widthbytes
. 's %' . $widthsegments
. 's %' . $widthdate
. 's %-' . $widthposter . 's' . "\n";
my @formatted;
for my $key ( keys %files ) {
# print "$files{$key}{name}\n";
my $filename = $files{$key}{subject};
$filename = $files{$key}{guessedname} if $trytoguess;
push @formatted, sprintf(
Expand Down

0 comments on commit aacf157

Please sign in to comment.