Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053AbXAXRa0 (ORCPT ); Wed, 24 Jan 2007 12:30:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752054AbXAXRa0 (ORCPT ); Wed, 24 Jan 2007 12:30:26 -0500 Received: from static-71-162-243-5.phlapa.fios.verizon.net ([71.162.243.5]:52582 "EHLO grelber.thyrsus.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752053AbXAXRaZ (ORCPT ); Wed, 24 Jan 2007 12:30:25 -0500 From: Rob Landley To: Andrew Morton Subject: Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh Date: Wed, 24 Jan 2007 12:30:40 -0500 User-Agent: KMail/1.9.1 Cc: Sam Ravnborg , LKML References: <200701151624.18033.rob@landley.net> <20070115221146.GA12698@uranus.ravnborg.org> <20070123164944.db8acbad.akpm@osdl.org> In-Reply-To: <20070123164944.db8acbad.akpm@osdl.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701241230.40996.rob@landley.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1043 Lines: 25 On Tuesday 23 January 2007 7:49 pm, Andrew Morton wrote: > If the kernel is being compiled on a non-Linux system (eg: legacy Unix) > then it is, I guess, possible for `awk' and `gawk' to offer different > features. If the kernel's use of gawk uses GNU extensions then this patch > might break things on such a system. > > I guess we'll find out... I think we can rule out the "print $6" and "print $11" as gnu extensions. And sub() is in the Single Unix Specification v3 spec for awk: http://www.opengroup.org/onlinepubs/009695399/utilities/awk.html I've used the busybox version and it worked just fine, once the links were renamed. Rob -- "Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away." - Antoine de Saint-Exupery - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/