Please contact or Mt Xia for assistance with all your shell programming needs.
4.8 for
The format for this construct is:
| 
  Command Format:  for loop-index in argument-list            
                        do                                     
                        commands                               
                        done                                   
 | 
| 
  Command Format:  while expression                            
                        do                                     
                        commands                               
                        done                                   
 | 
| 
  Command Format:  until expression                            
                       do                                     
                        commands                               
                       done                                   
 | 
| 
  Command Format:  case test-string in                        
                        pattern-1 ) commands-1 ;;              
                        pattern-2 ) commands-2 ;;              
                        pattern-3 ) commands-3 ;;              
                        .                                      
                        .                                      
                        .                                      
                        *)          commands   ;;              
                   esac                                        
 |