Wednesday, 15 May 2013

bash - Ending while loop using if -


Is there a way to end a loop using a method? Just a few pseudocode :

  again = 1 while doing [again = 1] depending on what I want to do Rename the name "Rename" name, rename the name "Continue for 1, no one" again if [again == 1] then pass elif [re == 0] and then at the end   continue  to use  pass     / code> if you want to loop the rest Want to leave and start again from the beginning Do not want, and if you  break  instead of  end  would like to use, you can opt-out entirely from the loop. 


No comments:

Post a Comment