X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/649fc2c55b24de625125a9eb4adffe6d4748a29f..05794f14d67970b99701de23c6be0546310f12a3:/lib-src/b2m.pl diff --git a/lib-src/b2m.pl b/lib-src/b2m.pl index 40738fd01e..225c272587 100644 --- a/lib-src/b2m.pl +++ b/lib-src/b2m.pl @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 # USA. # Maintained by Jonathan Kamens . @@ -30,7 +30,7 @@ use Mail::Address; use Date::Parse; my($whoami) = basename $0; -my($version) = '$Revision: 1.3 $'; +my($version) = '$Revision$'; my($usage) = "Usage: $whoami [--help] [--version] [--[no]full-headers] [Babyl-file] \tBy default, full headers are printed.\n"; @@ -80,7 +80,7 @@ while (<>) { $labels = $1; # Strip the integer indicating whether the header is pruned - $labels =~ s/^(\d+)[,\s]*//; + $labels =~ s/^(\d+)[,\s]*//; $pruned = $1; s/(?:((?:.+\n)+)\n*)?\*\*\* EOOH \*\*\*\n+// || goto malformatted; @@ -113,7 +113,7 @@ while (<>) { $labels =~ s/[,\s]+$//; # Now collapse extra commas and whitespace in the remaining label string $labels =~ s/[,\s]+/, /g; - + foreach my $rmail_header qw(summary-line x-coding-system) { $full_header =~ s/(^|\n)$rmail_header:.*\n/$1/i; } @@ -152,3 +152,5 @@ while (<>) { } close(STDOUT) || die "$whoami: Error closing stdout: $!\n"; + +# arch-tag: 8c7c8ab0-721c-46d7-ba3e-139801240aa8