Re: [rft] (g)awk substitution (Re: [PATCH] sed s/gawk/awk/scripts/gen_init_ramfs.sh)

From: Rob Landley
Date: Wed Jan 24 2007 - 20:52:04 EST


On Wednesday 24 January 2007 4:03 pm, Oleg Verych wrote:

> Let me propose you to test this as solution, that need no awk, only shell:

Actually awk is one of the standard Single Unix Specification (version 3)
utilities and the kernel build uses it in a number of places, such as
arch/alpha/boot/Makefile, drivers/eisa/Makefile, scripts/ver_linux.

Your objection is a bit like saying "and don't use cat". I'm saying don't
call cat "gcat" when you just mean plain old cat.

> p.s. who is going to make alternative to GNU make ? ;D

Me. Seriously. It's on my todo list, as part of the Firmware Linux project:

http://lwn.net/Articles/215941/

Although as major projects go, it's about fifth down on the list after getting
toybox up to speed, writing a proper bash replacement shell, getting tcc to
build an unmodified Linux kernel, convincing the uClibc guys to HAVE ANOTHER
RELEASE ALREADY (it's been a year and a half, I _sent_ a cake)...

Today, I'm writing a gene2fs that produces streaming output (I.E. it works
like tar). It's not done yet...

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/