Commit graph

8 commits

Author SHA1 Message Date
Michael Diamond
0666f6482c Refactor and tidy BOSL's shell scripts
* Fixed ShellCheck.net warnings, including
  * exit -1: https://github.com/koalaman/shellcheck/wiki/SC2242
  * cd || exit: https://github.com/koalaman/shellcheck/wiki/SC2164
  * "$foo": https://github.com/koalaman/shellcheck/wiki/SC2086
  * $(( $foo )): https://github.com/koalaman/shellcheck/wiki/SC2004
  * grep | wc -l: https://github.com/koalaman/shellcheck/wiki/SC2126
* Use arrays instead of unquoted strings for loops and command arguments
* Use (( ... )) arithmetic context instead of string comparisons
* Use bash's built-in regex support instead of grep+sed+awk
* Write errors to stderr
2021-05-21 01:01:15 -07:00
Garth Minette
fe788f56b5 Updated tutorials. 2021-04-17 19:17:44 -07:00
Garth Minette
36298b38d6 Added Mutators tutorial to generation list. 2020-12-29 21:21:12 -08:00
Garth Minette
2b0a129212 Basic_Shapes.md -> Shapes2d & Shapes3d 2020-12-28 02:12:21 -08:00
Revar Desmera
857e7a94fb Updated tutorial image gen script. 2020-03-30 14:48:29 -07:00
Revar Desmera
a102663b1a Fixed Basits tutorial mirror example images. 2020-03-25 01:37:01 -07:00
Revar Desmera
7640627300 Added Basics tutorial 2020-03-24 23:16:16 -07:00
Revar Desmera
a3c917bfe9 Initial script to generate tutorial images. 2020-03-24 00:02:24 -07:00