Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh
From: Oleg Verych
Date: Fri Feb 02 2007 - 16:01:59 EST
> From: Adrian Bunk
> Newsgroups: gmane.linux.kernel
> Subject: Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh
> Date: Fri, 2 Feb 2007 17:36:20 +0100
[]
> On Tue, Jan 23, 2007 at 04:49:44PM -0800, Andrew Morton wrote:
>> On Mon, 15 Jan 2007 23:11:46 +0100
>> Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
>>
>> > On Mon, Jan 15, 2007 at 04:24:17PM -0500, Rob Landley wrote:
>> > > Signed-off-by: Rob Landley <rob@xxxxxxxxxxx>
>> > Acked-by: Sam Ravnborg <sam@ravnborg>
>> >
>> > > Use "awk" instead of "gawk".
>> > >
>> > > --
>> > >
>> > > There's a symlink from awk to gawk if you're using the gnu tools, but no
>> > > symlink from gawk to awk if you're using BusyBox or some such. (There's a
>> > > reason for the existence of standard names. Can we use them please?)
>>
>> 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...
>
> Not only legacy systems.
>
> E.g. in Debian GNU/Linux you must have at least one AWK implementation
> installed, and awk is a symlink to one of them (both is done by the
> package manager).
>
> Available AWK implementations are:
> - GNU AWK
> - Mawk
> - the original AWK
Well, i'm looking for anyone to comment on my respond to this "issue".
Probably noone has much time to do this. Anyway, please see my patch:
Message-ID: <slrnes021q.f71.olecom@xxxxxxxxxxxxxx>
Archived-At: <http://permalink.gmane.org/gmane.linux.kernel/488044>
Thanks.
____
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/