LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Oleg Verych <olecom@flower.upol.cz>
Cc: Andrew Morton <akpm@osdl.org>, Sam Ravnborg <sam@ravnborg.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)
Date: Fri, 26 Jan 2007 12:47:20 -0500 [thread overview]
Message-ID: <200701261247.22374.rob@landley.net> (raw)
In-Reply-To: <20070125211802.GC10907@flower.upol.cz>
On Thursday 25 January 2007 4:18 pm, Oleg Verych wrote:
> > As I said, I'm not particularly interested in a more intrusive solution
> > solving a problem I haven't actually seen. I don't see any obvious reason
> > why it wouldn't work, and yes it would probably also solve my problem, but
> > I still don't see why you think it's "better" than the three byte fix.
>
> Ehhh. "I'm not guilty" issue. Well, fine ;)
"guilty"?
You attempted to hijack my simple observation ("awk is the standard name, gawk
is not") into an attempt to replace susv3 standard utilities with extra shell
script. This is a separate agenda, and I have _no_ idea why you think I'm
obligated to pursue it for you.
The motivation for my patch is taht circa 2.6.12 I didn't need gawk on my
system to build; the need for it cropped up fairly recently. This is A) an
artificial requirement, B) a regression, C) trivial to fix.
I could also teach busybox awk to be called as "gawk", but awk is the standard
name and gawk is not, and gawk can already be called as awk. The _clean_
thing to do is send a patch to get Linux to use the standard name, which I
did. This is the minimally intrusive change, and since gawk's install
creates an awk symlink it shouldn't affect any existing systems.
That's what I did. I am simply not interested in your attempts to do
something else, in hopes of fixing a problem I haven't seen and which I'm not
convinced actually exists.
> If your current system is IA-32, or you have access to one, would you
> like to test scripts/makelst for me, as i'm seeing `bc' there. But my
> system have not one, i would like to replace it with shell or awk or
> whatever. TIA.
According to Posix and SUSv3, a development environment can be expected to
have bc:
http://www.opengroup.org/onlinepubs/009695399/utilities/bc.html
Would you like to try the one in busybox?
The minimal development environment I can build a working system in is 7
packages: linux, gcc, binutils, make, busybox, uClibc, bash. This is not
theoretical: I have actually done this, and I was building systems under this
as far back as 2003. (I became busybox maintainer after spending 2 years
upgrading busybox to make this _work_. I started by rewriting sed. I didn't
_know_ sed at the time, but binutils ./configure used some rather advanced
sed scripts to build, so I fixed it. It works now.)
I'm using this to get a minimal native environment on non-x86 target
platforms, to minimize the amount of cross compiling I have to do when
bootstrapping a new platform. (I submitted an OLS tutorial proposal on this,
although I dunno if they're interested.)
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
next prev parent reply other threads:[~2007-01-26 17:47 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 21:24 [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh Rob Landley
2007-01-15 22:11 ` Sam Ravnborg
2007-01-24 0:49 ` Andrew Morton
2007-01-24 17:30 ` Rob Landley
2007-01-24 21:03 ` [rft] (g)awk substitution (Re: [PATCH] sed s/gawk/awk/scripts/gen_init_ramfs.sh) Oleg Verych
2007-01-24 22:44 ` [patch, rft] scripts/gen_initramfs_list.sh: replace gawk with shell, whitespace cleanup Oleg Verych
2007-01-24 23:30 ` [patch, rft] scripts/makelst: replace gawk with shell, update Oleg Verych
2007-01-25 1:51 ` [rft] (g)awk substitution (Re: [PATCH] sed s/gawk/awk/scripts/gen_init_ramfs.sh) Rob Landley
2007-01-25 9:40 ` sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution) Oleg Verych
2007-01-25 18:03 ` Rob Landley
2007-01-25 19:14 ` Oleg Verych
2007-01-25 19:38 ` Rob Landley
2007-01-25 21:18 ` Oleg Verych
2007-01-26 17:47 ` Rob Landley [this message]
2007-01-26 20:14 ` Oleg Verych
2007-01-27 0:18 ` Tim Schmielau
2007-01-27 6:38 ` scripts/makelst: bc -> shell " Oleg Verych
2007-02-03 11:24 ` David Weinehall
2007-02-03 13:10 ` Oleg Verych
2007-02-03 11:13 ` David Weinehall
2007-02-02 16:36 ` [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh Adrian Bunk
2007-02-02 21:01 ` Oleg Verych
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200701261247.22374.rob@landley.net \
--to=rob@landley.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olecom@flower.upol.cz \
--cc=sam@ravnborg.org \
--subject='Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).