* 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
* Re: git-send-email and pine alias format
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
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2007-07-24 6:53 UTC (permalink / raw)
To: Kumar Gala; +Cc: git
Kumar Gala <galak@kernel.crashing.org> writes:
> 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 something like, to get the address field.
My guess is simply because we got a "works-for-us" regexp by
observing the program's behaviour, done by real Pine users. On
top of that, probably nobody knew and/or bothered to check if
there is such "official spec" available.
Could you send a signed and testable patch to the list so other
Pine users can try it out please? After seeing a few Ack's on
the list, I'd like to apply it and preferably do so before 1.5.3
final.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-send-email and pine alias format
2007-07-24 6:53 ` Junio C Hamano
@ 2007-07-24 14:51 ` Kumar Gala
0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2007-07-24 14:51 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
On Mon, 23 Jul 2007, Junio C Hamano wrote:
> Kumar Gala <galak@kernel.crashing.org> writes:
>
> > 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 something like, to get the address field.
>
> My guess is simply because we got a "works-for-us" regexp by
> observing the program's behaviour, done by real Pine users. On
> top of that, probably nobody knew and/or bothered to check if
> there is such "official spec" available.
>
> Could you send a signed and testable patch to the list so other
> Pine users can try it out please? After seeing a few Ack's on
> the list, I'd like to apply it and preferably do so before 1.5.3
> final.
Ok, done.
- 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).