sync: 2026-11-17 16:30

This commit is contained in:
Benji committed 2026-11-17 16:30:05 +01:00
1 parent 7e4b8b39de
commit bfec44a313
2 files changed
+4 -7

No files matched your search

+1 -7
View File
@@ -4,19 +4,14 @@ if [[ $# -lt 2 ]]; then
echo "usage: $0 <SRC_FILE> <DST_FILE>"
exit 1
fi
dst_file=$(cat $2)
if [[ dst_file -gt 0 ]]; then
if [[ -s $2 ]]; then
read -p "$2 exists. Overwrite? Yes/No --> " -r choice
if [[ $choice = "Yes" ]]; then
echo "overwriting $2 !"
echo -n "" >$2
fi
else
echo "file empty"
fi
for line in $(cat $1); do
if [[ $(expr length $line) -eq 32 ]]; then
@@ -31,5 +26,4 @@ for line in $(cat $1); do
echo "Invalid format for : $line the string isn't 32bits long"
fi
done
+3
View File
@@ -0,0 +1,3 @@
178.226.14.114
229.197.178.82
50.230.8.114