2010-06-02 81 views
2

我正在写剧本,我很好奇,c壳有没有像在C continue事端。继续在unix

+1

你已经问过,但为什么使用C shell ???如果你在一个没有bash的平台上,你应该使用Bourne shell(sh) - 这个c-shell并不是用于脚本的,它基本上是一块cr * p。 – 2010-06-02 12:15:12

+0

这是我的项目,我知道c壳......但是我可以做什么讲座? – lego69 2010-06-02 12:16:51

+0

也许教育你的讲师关于C shell的许多缺陷? – Jens 2012-06-04 10:12:57

回答

2

是的。从CSH手册页(在OSX):

continue 
      Continues execution of the nearest enclosing while or foreach. 
      The rest of the commands on the current line are executed.