From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 12 16:30:02 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6074E3C5 for ; Fri, 12 Oct 2012 16:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 46B438FC1A for ; Fri, 12 Oct 2012 16:30:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9CGU1M6028591 for ; Fri, 12 Oct 2012 16:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9CGU18P028588; Fri, 12 Oct 2012 16:30:01 GMT (envelope-from gnats) Date: Fri, 12 Oct 2012 16:30:01 GMT Message-Id: <201210121630.q9CGU18P028588@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Devin Teske Subject: Re: bin/171725: awk(1) does not support word-boundary metacharacters X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Oct 2012 16:30:02 -0000 The following reply was made to PR bin/171725; it has been noted by GNATS. From: Devin Teske To: , Cc: Subject: Re: bin/171725: awk(1) does not support word-boundary metacharacters Date: Fri, 12 Oct 2012 09:24:00 -0700 Enhancing awk(1), we should add support for "\<" and "\>" (not "[[:<:]]" an= d "[[:>:]]"). The reason we should support the former syntax is due to the = awk(1) manual which says (rather sparsely) "regular expressions are as-in e= grep(1)". If we are to rectify the functionality-gap between the awk(1) manual and aw= k(1) functionality, we should either fix the awk(1) manual (for example, to= say "regular expressions are as-in egrep(1) except for \< and \>") or we s= hould (preferred) add support for \< and \> so that the manual becomes accu= rate without modification. That is to say, that awk(1) should _not_ be enhanced to support [[:<:]] and= [[:>:]] as this would only further add to the functionality-gap between wh= at is documented and what is expected. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.