Unix Script control flow


/ Published in: Bash
Save to your folder(s)

you could divide your job into functions
Here, procedure_1 is the first part of the job, where there isn't restart, procedure_2 must be executed if procedure_1 was done and the control logic is at the end, working as an outer loop.

URL: http://www.linuxquestions.org/questions/programming-9/bash-goto-384407/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.