X-Git-Url: https://code.th-h.de/?p=scripts.git;a=blobdiff_plain;f=mmm%2Fmmm.pl;h=2b20fb3aaddfa6e2c372970ed6000a9d0b36945a;hp=c45b28b9fe71d83e7a3d1ec55a0a6fb3c0aa2a53;hb=1725477449fac0a046e14ca8c2bfbffef3d7905b;hpb=2c85436c95c0f347549a7797e6a0d00edf65d579 diff --git a/mmm/mmm.pl b/mmm/mmm.pl index c45b28b..2b20fb3 100644 --- a/mmm/mmm.pl +++ b/mmm/mmm.pl @@ -1,17 +1,17 @@ #! /usr/bin/perl -W # -# mmm Version 0.1 by Thomas Hochstein +# mmm Version 0.2 by Thomas Hochstein # # Create a MIME multipart/alternative part, containing # text/plain (in Markdowen) and text/html, from a # Markdown file. # -# Copyright (c) 2015 Thomas Hochstein +# Copyright (c) 2015-2016 Thomas Hochstein # # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -my $VERSION = "0.1"; +my $VERSION = "0.2"; use strict; use Getopt::Long qw(GetOptions); @@ -56,7 +56,7 @@ print "$headers\n" if ($OptHeaderFile); my $Boundary = &GenBoundary; print "MIME-Version: 1.0\n"; print "Content-Type: multipart/alternative;\n"; -printf ('boundary="%s"'."\n",$Boundary); +printf (' boundary="%s"'."\n",$Boundary); print "\n"; print "This is a multi-part message in MIME format.\n";