Re: scripts/makelst: bc -> shell Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)

2007-02-03 Thread Oleg Verych
On Sat, Feb 03, 2007 at 12:24:59PM +0100, David Weinehall wrote: > On Sat, Jan 27, 2007 at 06:38:36AM +, Oleg Verych wrote: > [snip] > > ,-*- diff snip -*- > > |-t4=`echo $t3 | gawk '{ print $1 }'` > > |-t5=`echo $t1 | gawk '{ print $1 }'` > > |+t4=`pos_param 1 $t3` > > |+

Re: scripts/makelst: bc -> shell Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)

2007-02-03 Thread David Weinehall
On Sat, Jan 27, 2007 at 06:38:36AM +, Oleg Verych wrote: [snip] > ,-*- diff snip -*- > |-t4=`echo $t3 | gawk '{ print $1 }'` > |-t5=`echo $t1 | gawk '{ print $1 }'` > |+t4=`pos_param 1 $t3` > |+t5=`pos_param 1 $t1` > 5 t6=`echo $t4 - $t5 | tr a-f A-F` > 6 t7=`( echo

Re: scripts/makelst: bc - shell Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)

2007-02-03 Thread David Weinehall
On Sat, Jan 27, 2007 at 06:38:36AM +, Oleg Verych wrote: [snip] ,-*- diff snip -*- |-t4=`echo $t3 | gawk '{ print $1 }'` |-t5=`echo $t1 | gawk '{ print $1 }'` |+t4=`pos_param 1 $t3` |+t5=`pos_param 1 $t1` 5 t6=`echo $t4 - $t5 | tr a-f A-F` 6 t7=`( echo ibase=16

Re: scripts/makelst: bc - shell Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)

2007-02-03 Thread Oleg Verych
On Sat, Feb 03, 2007 at 12:24:59PM +0100, David Weinehall wrote: On Sat, Jan 27, 2007 at 06:38:36AM +, Oleg Verych wrote: [snip] ,-*- diff snip -*- |-t4=`echo $t3 | gawk '{ print $1 }'` |-t5=`echo $t1 | gawk '{ print $1 }'` |+t4=`pos_param 1 $t3` |+t5=`pos_param 1

scripts/makelst: bc -> shell Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)

2007-01-26 Thread Oleg Verych
Hallo. On Sat, Jan 27, 2007 at 01:18:30AM +0100, Tim Schmielau wrote: > On Fri, 26 Jan 2007, Oleg Verych wrote: > > > In Debian's version it has no `bc', while native `bc' is producing > > crap like that: > > ,-*- bash -*- > > |[EMAIL PROTECTED]:~$ printf "%u" $(( -1 )) ; echo > >

scripts/makelst: bc - shell Re: sed _s_gnu_alternatives_ (Re: [rft] (g)awk substitution)

2007-01-26 Thread Oleg Verych
Hallo. On Sat, Jan 27, 2007 at 01:18:30AM +0100, Tim Schmielau wrote: On Fri, 26 Jan 2007, Oleg Verych wrote: In Debian's version it has no `bc', while native `bc' is producing crap like that: ,-*- bash -*- |[EMAIL PROTECTED]:~$ printf %u $(( -1 )) ; echo |18446744073709551615