[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] hexadecimal / traffic control
From: |
Reinaldo Carvalho |
Subject: |
Re: [shell-script] hexadecimal / traffic control |
Date: |
Fri, 28 Jul 2006 20:14:06 -0300 |
Felipe,
% echo $((0x8001 & 0xff00))
32768
Não entendi como isso funciona.. pode dar mais exemplos?
% echo $((16#8000))
32768
Perfeito, com certeza a melhor maneira Hexa => Decimal
Existe algo semelhante para Decimal => Hexa ?
--
Reinaldo Carvalho
Debian Sarge 3.1 - Linux User: #238310
Prodepa - address@hidden
Re: [shell-script] hexadecimal / traffic control, Tiago Barcellos Peczenyj, 2006/07/27
- Re: [shell-script] hexadecimal / traffic control, Reinaldo Carvalho, 2006/07/27
- Re: [shell-script] hexadecimal / traffic control, Tiago Barcellos Peczenyj, 2006/07/27
- Re: [shell-script] hexadecimal / traffic control, Reinaldo Carvalho, 2006/07/28
- Re: [shell-script] hexadecimal / traffic control, Felipe Kellermann, 2006/07/28
- Re: [shell-script] hexadecimal / traffic control, Julio C. Neves, 2006/07/29
- Re: [shell-script] hexadecimal / traffic control, Felipe Kellermann, 2006/07/29