![Bash 中的“in”是什么?](https://linux22.com/image/219359/Bash%20%E4%B8%AD%E7%9A%84%E2%80%9Cin%E2%80%9D%E6%98%AF%E4%BB%80%E4%B9%88%EF%BC%9F.png)
答案1
它是一个保留字。从man bash
:
RESERVED WORDS Reserved words are words that have a special meaning to the shell. The following words are recognized as reserved when unquoted and either the first word of a simple command (see SHELL GRAMMAR below) or the third word of a case or for command: ! case coproc do done elif else esac fi for function if in select then until while { } time [[ ]]