better text

This commit is contained in:
Ward Wouts 2003-04-28 20:28:05 +00:00
parent 6e13fa2fd2
commit b2f90f35d8

View file

@ -1,6 +1,6 @@
#!/usr/local/bin/ruby -w
# $Dwarf: ripnews.rb,v 1.56 2003/04/28 10:29:20 ward Exp $
# $Dwarf: ripnews.rb,v 1.57 2003/04/28 11:02:15 ward Exp $
# $Source$
require 'date'
@ -353,14 +353,14 @@ def check_ext(group, filename, mode, subject)
case mode
when "s"
if @config[group].has_key?("-SD") && ( filename =~ /\.(#{@config[group]["-SD"]})$/ )
print "Marking '#{subject}' matches as read\n"
print "Marking '#{subject}' as read\n"
@articles.group_update_newsrc(subject)
return false
end
return @config[group].has_key?("-S") ? ( filename =~ /\.(#{@config[group]["-S"]})$/ ) : true
when "m"
if @config[group].has_key?("-MD") && ( filename =~ /\.(#{@config[group]["-MD"]})$/ )
print "Marking '#{subject}' matches as read\n"
print "Marking '#{subject}' as read\n"
@articles.group_update_newsrc(subject)
return false
end
@ -431,7 +431,7 @@ for group in @config.keys.sort
for i in @articles.get_group_subjects
print "#{i}\n" if Debuglevel > 2
if @config[group].has_key?("-MR") and i =~ /#{@config[group]["-MR"]}/
print "Marking '#{i}' matches as read\n"
print "Marking '#{i}' as read\n"
@articles.group_update_newsrc(i)
next
end