Martin Pelikan napsal:
> I can't say anything more than 'this solved my problem', which was
>
> $ echo | awk '{ printf "%u\n", rshift(int("0xdeff"), 24) }' | bc -e
> 'obase=16'
> FF80
> vs.
> $ echo | awk '{ printf "%u\n", rshift(int("0xdeff"), 24) }' | bc -e
> 'obase=16'
> DE
>
I can't say anything more than 'this solved my problem', which was
$ echo | awk '{ printf "%u\n", rshift(int("0xdeff"), 24) }' | bc -e
'obase=16'
FF80
vs.
$ echo | awk '{ printf "%u\n", rshift(int("0xdeff"), 24) }' | bc -e
'obase=16'
DE
I hope it starts a discussion (at least)