From owner-freebsd-current@FreeBSD.ORG Tue Dec 2 10:48:25 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E0516A4CF for ; Tue, 2 Dec 2003 10:48:25 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6773F43FE1 for ; Tue, 2 Dec 2003 10:48:24 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id ; Tue, 2 Dec 2003 13:48:23 -0500 Message-ID: From: Don Bowman To: "'freebsd-current@freebsd.org'" Date: Tue, 2 Dec 2003 13:48:22 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" Subject: awk versus gawk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 18:48:25 -0000 So it appears current has switched 'gawk' to 'awk'. These aren't 100% compatible, here's a little gotcha in case someone else runs into it: awk '{print var}' var='a b' works on 'gawk' (e.g. RELENG_4), but on current, will awk '{print var}' var='a b' awk: newline in string a b... at source line 1 FYI, in case anyone else runs into it. Not sure if this is just gawk being more expressive. --don