Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对于这个csh脚本
csh
#!/bin/csh foreach file in (.) echo "$file" end
我收到这个错误
foreach: Words not parenthesized.
我该如何解决?
应该没有in:
in
foreach file ( . )
请务必阅读停止使用(和教学)C-Shell。