Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

break n & continue n in awk multiple loops 1

Status
Not open for further replies.

moonring

Technical User
Feb 15, 2008
38
US
Hi,

Does awk , gawk support break n or continue n from awk multiple for or while loops, similar to bash shell break n and continue n.For example:

Code:
for (i=1; i<=x; i++)
  actions....
    for (j=1;j<=y; j++)
      other actions....
      break 2  # Is this supported ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top