From owner-freebsd-questions@FreeBSD.ORG Fri Aug 13 16:34:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E32C410656B4 for ; Fri, 13 Aug 2010 16:34:16 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id 9A83F8FC23 for ; Fri, 13 Aug 2010 16:34:16 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id 16F89471884 for ; Fri, 13 Aug 2010 18:34:18 +0200 (CEST) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 753A23865B6 for ; Fri, 13 Aug 2010 18:34:18 +0200 (CEST) (envelope-from lconrad@Go2France.com) Date: Fri, 13 Aug 2010 18:34:16 +0200 Message-Id: <201008131834.AA796197122@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: Re: awk problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2010 16:34:17 -0000 ---------- Original Message ---------------------------------- From: Anonymous Date: Fri, 13 Aug 2010 20:13:20 +0400 >"Len Conrad" writes: > >> awk 'FS="." { print $(NF-1)"."$NF }' >> >> rm90.steampick.info.rm90.steampick.info >> lanejive.info >> govdelivery.com >> orangetalon.info >> carespecial.info > >Hmm, I can't reproduce it on /head. What FreeBSD version you're using? >Can you try with lang/nawk port? nawk is from the same vendor as >/usr/src/contrib/one-true-awk. FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0 awk --version awk version 20070501 (FreeBSD)