Script to fill HTML template from CSV file.
Edit data.csv. Structure:
Name | Function | Phone | |
---|---|---|---|
Steve Jobs | CEO | 0800 0201581 | steve@apple.com |
Use these variables in template.html:
- {NAME}
- {FUNCTION}
- {PHONE}
- {EMAIL}
Run the script:
sh script.sh
Script to fill HTML template from CSV file.
Edit data.csv. Structure:
Name | Function | Phone | |
---|---|---|---|
Steve Jobs | CEO | 0800 0201581 | steve@apple.com |
Use these variables in template.html:
Run the script:
sh script.sh