This - here is not one of bash's features, but rather a socat feature.
According to man socat:
ADDRESS SPECIFICATIONS
...
For some keywords there ex‐ist synonyms (’-’ for STDIO, TCP for TCP4).
...
EXAMPLES
socat - TCP4:www.domain.org:80
transfers data between STDIO (-) and a TCP4 connection to port 80 of host www.do‐
main.org. This example results in an interactive connection similar to telnet or net‐
cat. The stdin terminal parameters are not changed, so you may close the relay with
^D or abort it with ^C.
So this - stands for STDIO.
I never used socat before, but I can guess via socat - TCP4:www.domain.org:80 you can talk with www.domain.org:80 with your keyboard-
You type something, stuff you typed gets sent to www.domain.org:80, and stuff you receive from the address gets printed on your terminal.
- can be seen in some other programs as well, mostly stands for stdin.
/dev/stdin,/dev/stdout.-as an argument to the program as-is, same as any other.-is also treated as option delimiter for thebashinterpreter itself and itssetbuiltin like in the Bourne shell and as meaning$OLDPWDfor itscd/pushdbuiltin like in the Korn shell and>&-is used to close a fd like in the Bourne shell.echo -ne 'my command'orecho -n -e 'my command'which would be the non-standard and non-portable (even in bash) equivalent ofprintf %b 'my command'. Though for "my command" specifically, the-eis superfluous (and%bcould be replaced with%s).