Created
April 30, 2012 09:46
-
-
Save lotsofcode/2556913 to your computer and use it in GitHub Desktop.
iterate through templates and create sub-templates
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
| TEMPLATES=$(cat templates.txt); | |
| SUB_TEMPLATES=$(cat sub-templates.txt); | |
| for SUB_TEMPLATE in $SUB_TEMPLATES; do | |
| for TEMPLATE in $TEMPLATES; do | |
| touch templates/$TEMPLATE.$SUB_TEMPLATES.txt | |
| done | |
| done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment