Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!netnews.upenn.edu!cert!orac!pat From: pat@orac.pgh.pa.us (Pat Barron) Newsgroups: comp.mail.mush Subject: Re: Quotes in addresses Message-ID: <304@orac.pgh.pa.us> Date: 22 Feb 91 05:10:22 GMT References: <8391@exodus.Eng.Sun.COM> Reply-To: pat@orac.UUCP (Pat Barron) Organization: Pat's Sun-2/120 Lines: 16 In article <8391@exodus.Eng.Sun.COM> jss@greeble.Eng.Sun.COM (Josh Sirota) writes: >According to RFC822 (at least as I interpret it), comments are delimited >by *parentheses*, not by double quotes, yet the mush man page (and the >code, in get_name_n_addr()) imply that double quotes are treated just like >parentheses. If mush does this, it's RFC822 parser is broken. Double-quotes do *not* delimit comments. Parentheses, in general, do delimit comments, but not always (for instance, when they appear inside double-quotes....). RFC822 (as amended by the Host Requirements RFC) gives a grammar for addresses. Any address parser should interpret addresses with respect to the grammar, rather than making blanket (wrong) assumptions like "double-quotes always delimit comments". --Pat.