Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 479 Bytes

README.md

File metadata and controls

25 lines (24 loc) · 479 Bytes

ceval: the eval cmd from Crash-utility on bash

Example

$ ceval 255
hexdecimal: ff
   decimal: 255
     octal: 377
    binary: 0000000000000000000000000000000000000000000000000000000011111111
  bits set: 7 6 5 4 3 2 1 0
$ ceval 0xff
hexdecimal: ff
   decimal: 255
     octal: 377
    binary: 0000000000000000000000000000000000000000000000000000000011111111
  bits set: 7 6 5 4 3 2 1 0

Not Supported

$ ceval 128m
$ ceval 128 * 1m
$ ceval (1 << 27)