Created
          March 16, 2012 10:22 
        
      - 
      
- 
        Save mjf/2049456 to your computer and use it in GitHub Desktop. 
    Example of recurrent shell scrip call over it's arguments
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #! /bin/sh | |
| # PUT SOME CODE WORKING ON $1 HERE | |
| if [ $# -gt 1 ] | |
| then | |
| shift | |
| exec $0 $* | |
| fi | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment