Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
标题说什么。在 bash 中,当我这样做时:
$ echo [a-z] b t
是什么b t意思?在这种情况下,运算符是否有特殊含义[ ]?
b t
[
]
这[a-z]是一个匹配任何名称由单个字母组成的文件的模式。在您的情况下,当前目录有两个名为b和的文件t。如果没有匹配的文件,则该模式被视为文字文本,这就是其他人会看到[a-z]打印的原因。
[a-z]
b
t
I've made a simple UDP chat server and client
Client sends a packet containing a string, server receives it.
Upon receipt, the server should be able to tell if the IP AND Port number