aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: addc7515e4585c75b714c1d9b18682232216a817 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# bitutils

This is a collection of scripts which make working with binary numbers a bit
easier.

-   `bin` converts its argument (or standard input) to binary.
-   `hex` converts its argument (or standard input) to hexadecimal.
-   `bitrule` displays a ruler below its standard input.

## Example

``` shellsession
$ bin 12345 | bitrule
0b11000000111001
  '|'''|'''|'''|
   12  8   4   0
```