sync: 2026-11-17 17:34
This commit is contained in:
1 parent
a02c7470c3
commit
0052ef07bd
1 file changed
+2
-2
Regular → Executable
+2
-2
@@ -12,7 +12,7 @@ if [[ -s $2 ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
while [[ ]]; do
|
while read line; do
|
||||||
if [[ $(expr length $line) -eq 32 ]]; then
|
if [[ $(expr length $line) -eq 32 ]]; then
|
||||||
|
|
||||||
l1=$(expr substr $line 1 8)
|
l1=$(expr substr $line 1 8)
|
||||||
@@ -26,4 +26,4 @@ while [[ ]]; do
|
|||||||
echo "Invalid format for : $line the string isn't 32bits long"
|
echo "Invalid format for : $line the string isn't 32bits long"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done <$1 >$2
|
||||||
Reference in new issue
Block a user