bash - 如何正确阅读 Shell 语法?
问题描述
如何正确准确地阅读位于https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_10_02的 Shell Grammar ,尤其是写在“ The grammar symbols ”之后的?我并不是说我根本无法理解,我大致理解它,但我认为应该有一个关于如何正确读写 Shell Grammar 的“标准标准”。
解决方案
感谢Shawn,事实证明 Shell Grammar 使用了https://pubs.opengroup.org/onlinepubs/9699919799/utilities/yacc.html#tag_20_159_13中描述的“yacc 样式BNF语法” (或更容易在这里阅读版本)。
推荐阅读
- python - Python 中的正确答案不止一个?
- docker - 当清单中仅指定映像名称时,默认的 docker 映像注册表在哪里?
- duplicates - Сan't 从表格 ClickHouse 中删除重复项
- r - 在 brms 中指定初始值
- android - 如何从PNG制作图像按钮?
- intellij-idea - 使用 SSH 从远程服务器中的 IntelliJ IDEA 运行
- amazon-web-services - Jmeter-如何将 S3 中的文件从一个存储桶复制到另一个存储桶
- javascript - 在带有变量(0.01)的Javascript函数中使用小数?
- powershell - 设置位置:无法将“System.Object[]”转换为参数“Path”所需的类型“System.String”。不支持指定的方法
- javascript - 更改多个下拉项目及其输入