Hi,
On Tue, 6 Feb 2007, Oleg Verych wrote:
> scripts: replace gawk, head, bc with shell, update
>
> Replacing overhead of using some (external) programs
> instead of good old `sh'.
awk is indeed a bit of overkill.
>
> Cc: Roman Zippel <[EMAIL PROTECTED]>
> Cc: Sam Ravnborg <[EMAIL PROTECT
On Wed, Feb 07, 2007 at 09:58:12AM +0100, Jesper Juhl wrote:
> On 06/02/07, Oleg Verych <[EMAIL PROTECTED]> wrote:
> >scripts: replace gawk, head, bc with shell, update
> >
> > Replacing overhead of using some (external) programs
> > instead of good old `sh'.
> >
> >Cc: Roman Zippel <[EMAIL PROTE
On 06/02/07, Oleg Verych <[EMAIL PROTECTED]> wrote:
scripts: replace gawk, head, bc with shell, update
Replacing overhead of using some (external) programs
instead of good old `sh'.
Cc: Roman Zippel <[EMAIL PROTECTED]>
Cc: Sam Ravnborg <[EMAIL PROTECTED]>
Cc: William Stearns <[EMAIL PROTECT
Oleg Verych wrote:
..
Without jokes, it even commented:
+# awk style field access
+field() {
+ shift $1 ; echo $1
+}
+
Ack.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/ma
On Tue, Feb 06, 2007 at 09:49:47AM -0500, Mark Lord wrote:
> Oleg Verych wrote:
> >scripts: replace gawk, head, bc with shell, update
> >
> > Replacing overhead of using some (external) programs
> > instead of good old `sh'.
> ... <---,
> >-t4=`ech
Oleg Verych wrote:
scripts: replace gawk, head, bc with shell, update
Replacing overhead of using some (external) programs
instead of good old `sh'.
...
-t4=`echo $t3 | gawk '{ print $1 }'`
-t5=`echo $t1 | gawk '{ print $1 }'`
-t6=`echo $t4 - $t5 | tr a-f A-F`
-t7=`( echo
scripts: replace gawk, head, bc with shell, update
Replacing overhead of using some (external) programs
instead of good old `sh'.
Cc: Roman Zippel <[EMAIL PROTECTED]>
Cc: Sam Ravnborg <[EMAIL PROTECTED]>
Cc: William Stearns <[EMAIL PROTECTED]>
Cc: Martin Schlemmer <[EMAIL PROTECTED]>
Signed-o
7 matches
Mail list logo