This commit is contained in:
bʰedoh₂ swé 2025-01-12 04:48:58 +05:00
parent 6f83e8a7e9
commit 6368aa3446

View File

@ -40,9 +40,7 @@ get_message() {
} }
case "${mode}" in case "${mode}" in
intr) intr | interactive)
;&
interactive)
;; ;;
send) send)
open_socket open_socket
@ -51,9 +49,7 @@ case "${mode}" in
close_socket close_socket
exit exit
;; ;;
rec) rec | receive)
;&
receive)
length="$(get_message 1)" length="$(get_message 1)"
open_socket open_socket
echo -n 2 >&3 echo -n 2 >&3