如何正确阅读Shell语法?

问题描述 投票:0回答:1

如何正确,准确地阅读位于https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10_02的Shell语法,尤其是写在“ 语法符号”之后的内容?我并不是说我根本无法理解它,我大致理解它,但是我认为应该如何正确地读取和编写Shell语法应该有点像“标准的标准”。

如何正确而准确地阅读托管在https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10_02上的Shell语法,尤其是在“语法...”之后写的。

感谢Shawn

,事实证明Shell语法使用了在BNF中描述的“ yacc样式https://pubs.opengroup.org/onlinepubs/9699919799/utilities/yacc.html#tag_20_159_13语法”(或更易于理解的版本here)。] >
bash shell unix posix
1个回答
2
投票

感谢Shawn

© www.soinside.com 2019 - 2024. All rights reserved.