login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
February
»
6
Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mark Lord
Subject:
Re: [patch 1/3, resend] scripts: replace gawk, head, bc with shell, update
Date: Tuesday, February 6, 2007 - 7:49 am
Oleg Verych wrote:
quoted text
> scripts: replace gawk, head, bc with shell, update > > Replacing overhead of using some (external) programs > instead of good old `sh'.
...
quoted text
> - t4=`echo $t3 | gawk '{ print }'` > - t5=`echo $t1 | gawk '{ print }'` > - t6=`echo $t4 - $t5 | tr a-f A-F` > - t7=`( echo ibase=16 ; echo $t6 ) | bc` > + t4=`field 1 $t3` > + t5=`field 1 $t1` > + t6=`printf "%lu" $((0x$t4 - 0x$t5))`
...
quoted text
>From where do we obtain this new "field" command ?
Cheers -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[patch 1/3, resend] scripts: replace gawk, head, bc with s ...
, Oleg Verych
, (Mon Feb 5, 6:18 pm)
Re: [patch 1/3, resend] scripts: replace gawk, head, bc wi ...
, Mark Lord
, (Tue Feb 6, 7:49 am)
Re: [patch 1/3, resend] scripts: replace gawk, head, bc wi ...
, Oleg Verych
, (Tue Feb 6, 9:47 am)
Re: [patch 1/3, resend] scripts: replace gawk, head, bc wi ...
, Mark Lord
, (Tue Feb 6, 10:13 am)
Re: [patch 1/3, resend] scripts: replace gawk, head, bc wi ...
, Jesper Juhl
, (Wed Feb 7, 1:58 am)
Re: [patch 1/3, resend] scripts: replace gawk, head, bc wi ...
, Oleg Verych
, (Wed Feb 7, 6:02 am)
Re: [patch 1/3, resend] scripts: replace gawk, head, bc wi ...
, Roman Zippel
, (Wed Feb 7, 7:28 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys to get progress
Grant Grundler
Re: [patch] e1000=y && e1000e=m regression fix (was: Re: [regression] e100...
Uwe
NOHZ: local_softirq_pending 20
Roel Kluin
[PATCH 2/2] mpic_u3msi: mpic_u3msi: failed allocation unnoticed
Andi Kleen
Re: Quad core CPU detected but shows as single core in 2.6.23.1
git
:
Pat Thoyts
[PATCH] git-gui: use themed tk widgets with Tk 8.5
Stephan Beyer
Re: git sequencer prototype
Frans Pop
'git gc --aggressive' effectively unusable
Lynn Lin
Re: clearcase migration to git
Johannes Schindelin
Re: [PATCH 2/3] unpack-trees: fix path search bug in verify_absent
linux-netdev
:
William Allen Simpson
[net-next-2.6 PATCH v8 0/7] TCPCT part 1: cookie option exchange
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
David Miller
Re: [PATCH v5] rfs: Receive Flow Steering
David Miller
Re: [PATCH 2/2] macb: process the RX ring regardless of interrupt status
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
git-commits-head
:
Linux Kernel Mailing List
sparc64: Fix sun4u execute bit check in TSB I-TLB load.
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
udp: fix for unicast RX path optimization
Linux Kernel Mailing List
V4L/DVB (10826): cx88: Add IR support to pcHDTV HD3000 & HD5500
Linux Kernel Mailing List
init: Open /dev/console from rootfs
openbsd-misc
:
Private Equity Investment Exchange of Vietnam
Cong cu huu hieu: Cong giao tiep dau tu chuyen nghiep nhat Vietnam | Private Equit...
L. V. Lammert
OT, .. but has anyone seen a crontab editor
Nick Holland
Re: Upgrade 4.1->4.2->4.3
nixlists
Re: Which laptops do the developers use?
Siju George
Re: Blocking Teamviewer
Colocation donated by:
Syndicate