Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

do_animations.sh 417 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  1. #!/usr/bin/env bash
  2. #
  3. # Bash script to run all GMT animations
  4. #
  5. echo "Loop over all animations and run each job"
  6. # choose awk
  7. if command -v gawk >/dev/null 2>&1 ; then
  8. export AWK=gawk
  9. elif command -v nawk >/dev/null 2>&1 ; then
  10. export AWK=nawk
  11. else
  12. export AWK=awk
  13. fi
  14. for i in anim??; do
  15. echo "Running animation ${i}"
  16. cd $i
  17. bash $i.sh animate
  18. cd ..
  19. done
  20. echo "Completed all animations"
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...