bash-utils/shtpl/tests/test.sh

14 lines
190 B
Bash
Raw Normal View History

2018-10-09 16:54:38 +02:00
# With env variables
## On single line
2018-10-09 17:02:44 +02:00
WHO=Doctor nbrBoucle=5 ./test.shtpl
2018-10-09 16:54:38 +02:00
## Multiline
WHO=Doctor \
nbrBoucle=5 \
2018-10-09 17:02:44 +02:00
./test.shtpl
2018-10-09 16:54:38 +02:00
# Save result to file
2018-10-09 17:02:44 +02:00
WHO=Doctor ./test.shtpl > final.txt