~skiqqy/bin

ref: e187890d770145f93f1239f3a4d13d4770141c0e bin/bip -rwxr-xr-x 289 bytes
e187890dStephen Cochrane Changed echo to no op 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
# @Auther github@skiqqy

addr1=$(echo $1 | cut -d "." -f 1)
addr2=$(echo $1 | cut -d "." -f 2)
addr3=$(echo $1 | cut -d "." -f 3)
addr4=$(echo $1 | cut -d "." -f 4)

. binary 0 > /dev/null

echo $(toBinary $addr1)"."$(toBinary $addr2)"."$(toBinary $addr3)"."$(toBinary $addr4)