fork download
  1. #!/bin/bash
  2. line0_0="Today "
  3. line0_1="Yesterday "
  4. line0_2="In 1987 "
  5. line0_3="Last year "
  6.  
  7. line1_0="I "
  8. line1_1="my wife/girlfriend "
  9. line1_2="my 10 year old "
  10. line1_3="my roommate "
  11. line1_4="grandpa "
  12. line1_5="Miyazaki "
  13.  
  14. line2_0="finally ordered a Nintendo Switch "
  15. line2_1="drew this awesome painting of my favorite game "
  16. line2_2="dressed up as their favorite character "
  17. line2_3="beat dark souls "
  18. line2_4="got this super awesome retro console from a garage sale "
  19. line2_5="beat me at this game "
  20.  
  21. line3_0="and "
  22. line3_1="because "
  23.  
  24. line4_0="I love it."
  25. line4_1="I thought you guys might appreciate this."
  26. line4_2="I'm literally shaking."
  27. line4_3="I've never been so proud"
  28. line4_4="They are very talented."
  29. line4_5="I'm a huge Zelda fan."
  30. line4_6="It's my birthday today."
  31. line4_7="everything was better back then."
  32.  
  33. roll="`shuf -i 0-3 -n 1`"
  34. word0="line0_"$roll
  35. roll="`shuf -i 0-5 -n 1`"
  36. word1="line1_"$roll
  37. roll="`shuf -i 0-5 -n 1`"
  38. word2="line2_"$roll
  39. roll="`shuf -i 0-1 -n 1`"
  40. word3="line3_"$roll
  41. roll="`shuf -i 0-7 -n 1`"
  42. word4="line4_"$roll
  43.  
  44. echo ${!word0}${!word1}${!word2}${!word3}${!word4}
Success #stdin #stdout 0s 4348KB
stdin
Standard input is empty
stdout
Last year my 10 year old dressed up as their favorite character and It's my birthday today.