2010-06-02 80 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.