Published on 2025-12-29 11:05
       
       Random quote is displayed from an array of about 50 funny quotes 
       found online
       
       You can see the script in action in the root of my gopher hole or:
       
       I don't have gray hair, I have wisdom highlights.
       
 (DIR)  Refresh for another quote
       
       Here's the code:
       
           #!/usr/bin/env bash
           # Insert more quotes into this array
           quotes=("I'm not arguing, I'm just explaining why I'm right."
           "Why be moody when you can shake your booty?")
           num_quotes=${#quotes[@]}
           random_index=$((RANDOM % num_quotes))
           echo "${quotes[$random_index]}
       
       This code has only 2 random quotes in the array. Go get your own.
       
 (DIR)  Back to fun stuff
 (DIR)  Back to my home page