Re: [PATCH] git send-email: edit recipient addresses with the --compose flag

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Francis Galiegue <fg@...>
Cc: Tait <git.git@...>, Git Mailing List <git@...>
Date: Tuesday, November 11, 2008 - 4:53 pm

On Tue, 11 Nov 2008, Ian Hilt wrote:

Hm, how about keeping the path to perl in the snippet,

--8<--
#!/usr/bin/perl -Tw
use strict;
my $ws = "To: \nCc:";

$ws =~ /^To:\s*(.+)\s*\nCc:/ism;

if ($1 eq ' ') {
	print "\$1 is equal to a space.\n";
}
-->8--
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] git send-email: edit recipient addresses with th..., Ian Hilt, (Tue Nov 11, 4:53 pm)
Re: [PATCH] git send-email: edit recipient addresses with th..., Aristotle Pagaltzis, (Mon Nov 10, 4:08 am)