bcv 2.2 review

Download
by rbytes.net on

License: GPL (GNU General Public License)
File size: 17K
Developer: Gregoire Barbier
0 stars award from rbytes.net

bcv is a simple command-line tool that take various kinds of parameters (hex, dec, bin, oct, ASCII character, ASCII string, ^ prefixed control character) and converts each of them into all theese formats at one time.

Useful for debuging and so on

Sample output :

[gbarbier@obelix dev]$ bcv 0b110011 0x2a -204 3040 c hello ^M
0x33 = 063 = 0b110011 = 51 '3'
0x2a = 052 = 0b101010 = 42 '*'
0xffffff34 = 037777777464 = 0b11111111111111111111111100110100 = -204
0xbe0 = 05740 = 0b101111100000 = 3040
0x63 = 0143 = 0b1100011 = 99 'c'
0x68 = 0150 = 0b1101000 = 104 'h'
0x65 = 0145 = 0b1100101 = 101 'e'
0x6c = 0154 = 0b1101100 = 108 'l'
0x6c = 0154 = 0b1101100 = 108 'l'
0x6f = 0157 = 0b1101111 = 111 'o'
0xd = 015 = 0b1101 = 13 ^M

bcv 2.2 keywords