From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-52206-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SbMlD-0006zc-VS
	for garchives@archives.gentoo.org; Mon, 04 Jun 2012 02:11:12 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A479BE07FE;
	Mon,  4 Jun 2012 02:10:57 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id DF32FE07A3
	for <gentoo-dev@lists.gentoo.org>; Mon,  4 Jun 2012 02:10:20 +0000 (UTC)
Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	(Authenticated sender: ottxor)
	by smtp.gentoo.org (Postfix) with ESMTPSA id 2C4CD1B4022
	for <gentoo-dev@lists.gentoo.org>; Mon,  4 Jun 2012 02:10:20 +0000 (UTC)
Received: by obbuo19 with SMTP id uo19so7370642obb.40
        for <gentoo-dev@lists.gentoo.org>; Sun, 03 Jun 2012 19:10:18 -0700 (PDT)
Received: by 10.182.18.136 with SMTP id w8mr10403239obd.38.1338775818522; Sun,
 03 Jun 2012 19:10:18 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.76.77.8 with HTTP; Sun, 3 Jun 2012 19:09:58 -0700 (PDT)
In-Reply-To: <CANgp9kyyfYD_HY37N=iej_5SuX9UVY8sPqX740LttsshGtBauw@mail.gmail.com>
References: <CANgp9kyyfYD_HY37N=iej_5SuX9UVY8sPqX740LttsshGtBauw@mail.gmail.com>
From: Christoph Junghans <ottxor@gentoo.org>
Date: Sun, 3 Jun 2012 19:09:58 -0700
Message-ID: <CANgp9kwQ6MmPx27czyfNLLVO7ZpegDQxgZHMSnJKp0DcxCSYRA@mail.gmail.com>
Subject: [gentoo-dev] Re: RFC: Virtual for awk implementation
To: gentoo-dev@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: a9d8a111-1295-4926-a9ba-b60effbd7d5f
X-Archives-Hash: 9b638b787f8d9f22cc210d8e55afac08

No objections and 2x +1, so I will commit  virtual/awk to ~arch and
app-admin/eselect-awk to ~arch & masked for testing.

Please port packages to virtual/awk (if possible) and make bug reports
block on the awk porting tracker (bug #418473).

2012/5/29 Christoph Junghans <ottxor@gentoo.org>:
> Hi,
>
> recently I stumbled across a problem with mawk, which is apprearly
> Ubuntu's default awk interpreter.
> This brought the idea to my mind of adding a virtual for awk. Beside
> the fact that we already have 3 awk interpreters in gx86 (gawk, mawk
> and busybox awk), there are other ones like nawk and awka.
>
> I had some discussions with spanKY on that topic in bug #415689, which
> summarizes in the following:
>
> Advantages:
> - mawk is faster - useful for scientific purposes
> - busybox awk could replace gawk on minimal systems
> - more POSIX conform systems
>
> Disadvantages:
> - some awk code in the tree and portage is probably using GNU
> extensions without executing gawk explicitly
> - gray zone of Posix 1003.2 =A0(e.g. substr() function and an index of 0)
>
> What we would need:
> - virtual/awk
> - app-admin/eselect-awk (version available in cj-overlay)
> and
> - testing and migration of existing packages using gawk
> <http://qa-reports.gentoo.org/output/genrdeps/rindex/sys-apps/gawk>
> and
> <http://qa-reports.gentoo.org/output/genrdeps/dindex/sys-apps/gawk>
> to name a few.
>
> I have tested mawk as default interpreter for a while on my x86 boxes
> and didn't observed any problems so far.
>
> Cheers,
>
> Christoph
>
> --
> Christoph Junghans
> http://dev.gentoo.org/~ottxor/



--=20
Christoph Junghans
http://dev.gentoo.org/~ottxor/