Hello Brandon,

On Mon, Jul 15, 2002 at 02:53:59PM -0400, Brandon S. Allbery  KF8NH wrote:
> On Mon, 2002-07-15 at 11:37, Robert Drehmel wrote:
> > To me, this seems like a bug in 'gawk'.  The AWK language uses
> > only the first character in RS as the record separator, to my
> > knowledge.
> 
> Hm, I thought that was a gawk extension.

>From the GNU AWK 3.0.6 source:
"""
        else if (RS->stlen > 1) {
                static int warned = FALSE;

                RS_regexp = make_regexp(RS->stptr, RS->stlen, IGNORECASE, TRUE);

                if (do_lint && ! warned) {
                        warning("multicharacter value of `RS' is not portable");
                        warned = TRUE;
                }
        }
"""

You are right.  However, I still consider it a bug.  :-)

ciao,
-robert

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to