os-shell:用 LEXYACC 编写的 Linux shell

时间:2021-06-13 01:45:41
【文件属性】:
文件名称:os-shell:用 LEXYACC 编写的 Linux shell
文件大小:12KB
文件格式:ZIP
更新时间:2021-06-13 01:45:41
Bison #OS 外壳自述文件 用 LEX/YACC 编写的 Linux shell,由 Kyle Lin 和 Joachim Jones 编写。 我们的代码包含在 node.h、shell.l 和 shell.y 文件中。 #缺少功能 文件名补全 #特征 所有内置命令(setenv、printenv、unsetenv、cd、alias、unalias) 运行带有任意数量参数的命令(即'ls -l')。 如果命令名称中不存在“/”,则搜索路径。 环境变量扩展 别名支持和检查无限别名扩展 IO重定向:stdout、stderr、stdin都可以重定向 管道支持任意数量的管道 如果需要,“&”支持在后台完成程序 与“*”和“?”匹配的通配符人物 将错误打印到 stderr,并附上问题描述和违规行号 处理逃逸。 echo "my "string" 将输出我的 "string" 额外信用:还支持波
【文件预览】:
os-shell-master
----shell()
--------node.h(261B)
--------shell.l(4KB)
--------tests()
--------shell.y(23KB)
--------Makefile(209B)
----LICENSE.md(1KB)
----.gitignore(264B)
----README.md(7KB)
----.editorconfig(242B)

网友评论