Kudos for scripting a great hack in BASH.
Since the title reads "pure bash" however I was expecting to see an implementation using builtin bash features such as /dev/tcp.
Have you considered solving this problem using BASH builtin support for TCP?
Since the title reads "pure bash" however I was expecting to see an implementation using builtin bash features such as /dev/tcp.
Have you considered solving this problem using BASH builtin support for TCP?