This commit is contained in:
2025-03-24 11:36:01 +01:00
parent 0ecbdd4585
commit b9c451e95c
72 changed files with 2699 additions and 376 deletions

View File

@@ -2,13 +2,8 @@ if [[ $# -lt 2 ]]
then echo "usage: $0 <SRC_FILE> <DEST_FILE>"
exit
fi
if [[! -f $1]]
then echo "$1 doesn't exist or is not regular"
exit
fi
for addr in $(cat$1)
for addr in $(cat $1)
do
x=$(expr substr $addr 1 8)
y=$(expr substr $addr 9 8)
@@ -17,4 +12,4 @@ t=$(expr substr $addr 25 8)
addr_dot=$((2#$x)).$((2#$y)).$((2#$z)).$((2#$t))
echo $addr_dot
done>$2
exit
exit