Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh

From: Andrew Morton
Date: Tue Jan 23 2007 - 19:50:13 EST


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...
-
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/