~skiqqy/bin

ref: 8ecc22ceaf02ecaad3c432d7083882458da0e8c5 bin/bip -rwxr-xr-x 289 bytes
8ecc22ceStephen Cochrane Progress on clip 7 months 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)