sync: 2026-11-17 16:05
This commit is contained in:
1 parent
557774d791
commit
5afd9958bf
2 files changed
+17
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $# -lt 2 ]]; then
|
||||
echo "usage: $0 <SRC_FILE> <DST_FILE>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for line in $(cat $1); do
|
||||
l1=$(expr substr 1 8)
|
||||
l2=$(expr substr 9 8)
|
||||
l3=$(expr substr 18 8)
|
||||
l4=$(expr substr 26 8)
|
||||
echo "$((2#$l1)).$((2#$l2)).$((2#$l3)).$((2#$l4))."
|
||||
done
|
||||
@@ -0,0 +1,3 @@
|
||||
10110010111000101000011101110010
|
||||
11100101110001010101100101010010
|
||||
00110010111001101000010001110010
|
||||
Reference in new issue
Block a user