git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-send-email and pine alias format
@ 2007-07-23 16:49 Kumar Gala
  2007-07-24  6:53 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Kumar Gala @ 2007-07-23 16:49 UTC (permalink / raw)
  To: git

I was wondering why we don't parse the pine alias format according to the
following spec:

http://www.washington.edu/pine/tech-notes/low-level.html

I'd expect omething like, to get the address field.

@@ -225,7 +238,7 @@ my %parse_alias = (
                        $aliases{$1} = [ split(/\s+/, $2) ];
                }}},
        pine => sub { my $fh = shift; while (<$fh>) {
-               if (/^(\S+)\t.*\t(.*)$/) {
+               if (/^(\S+)\s+(.*)$/) {
                        $aliases{$1} = [ split(/\s*,\s*/, $2) ];
                }}},
        gnus => sub { my $fh = shift; while (<$fh>) {

- k

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-07-24 14:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-23 16:49 git-send-email and pine alias format Kumar Gala
2007-07-24  6:53 ` Junio C Hamano
2007-07-24 14:51   ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).