LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Rob Landley <rob@landley.net>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh
Date: Mon, 15 Jan 2007 23:11:46 +0100 [thread overview]
Message-ID: <20070115221146.GA12698@uranus.ravnborg.org> (raw)
In-Reply-To: <200701151624.18033.rob@landley.net>
On Mon, Jan 15, 2007 at 04:24:17PM -0500, Rob Landley wrote:
> Signed-off-by: Rob Landley <rob@landley.net>
Acked-by: Sam Ravnborg <sam@ravnborg>
PS
My dev machine is broke and need a new one before kbuild.git will
be alive again.
Considering an AMD Athlon 64 X2 based one with Nvidia GeForce™ 6150LE:
http://h10010.www1.hp.com/wwpc/dk/da/ho/WF06b/34307-351123-1284187-1284187-1284187-12726540-78048221.html
Anyone with comments on this choice?
Sam
>
> 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?)
>
> --- linux-2.6.19.2/scripts/gen_initramfs_list.sh 2007-01-10 14:10:37.000000000 -0500
> +++ linux-new/scripts/gen_initramfs_list.sh 2007-01-15 10:14:41.000000000 -0500
> @@ -121,9 +121,9 @@
> "nod")
> local dev_type=
> local maj=$(LC_ALL=C ls -l "${location}" | \
> - gawk '{sub(/,/, "", $5); print $5}')
> + awk '{sub(/,/, "", $5); print $5}')
> local min=$(LC_ALL=C ls -l "${location}" | \
> - gawk '{print $6}')
> + awk '{print $6}')
>
> if [ -b "${location}" ]; then
> dev_type="b"
> @@ -134,7 +134,7 @@
> ;;
> "slink")
> local target=$(LC_ALL=C ls -l "${location}" | \
> - gawk '{print $11}')
> + awk '{print $11}')
> str="${ftype} ${name} ${target} ${str}"
> ;;
> *)
>
> --
> "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/
next prev parent reply other threads:[~2007-01-15 22:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-15 21:24 Rob Landley
2007-01-15 22:11 ` Sam Ravnborg [this message]
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
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=20070115221146.GA12698@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rob@landley.net \
--subject='Re: [PATCH] sed s/gawk/awk/ scripts/gen_init_ramfs.sh' \
/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).