lkml.org 
[lkml]   [2007]   [Aug]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [154/2many] MAINTAINERS - DIGI INTL. EPCA DRIVER
FromJoe Perches <>
DateMon, 13 Aug 2007 21:13:18 -0700
On Mon, 2007-08-13 at 09:35 -0700, Joe Perches wrote:
> On Mon, 2007-08-13 at 09:15 -0700, Kok, Auke wrote:
> > or properly put it on "quotes":
> 
> I'll improve the script and revert the name changes.

# check for "must quote" chars in name

sub format_email {
    my ($name, $email) = @_;
    if ($name =~ tr@,\@<>@@) {
	$formatted_email = "\"${name}\"\ \<${email}\>";
    } else {
	$formatted_email = "${name} \<${email}\>";
    }
    return $formatted_email;
}
Anyone know what chars require the name be quoted?
I've got: "," "@" "<" ">" ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-14 04:19    [from the cache]
©2003-2008