小编Sta*_*mar的帖子

输入重定向到 for 和 while

只是出于好奇,

此命令有效:

$ <file cat
Run Code Online (Sandbox Code Playgroud)

但这些都没有:

$ <file for
bash: for: command not found...

$ <file while
bash: while: command not found...
Run Code Online (Sandbox Code Playgroud)

这是为什么?

bash shell-script shell-builtin

4
推荐指数
2
解决办法
480
查看次数

标签 统计

bash ×1

shell-builtin ×1

shell-script ×1