• Yer Ma
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    4 months ago

    Name 5 Star Treks then… using a bash for loop

    • Fallofturkey@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      4 months ago

      Easy: Star Trek I through V. Edit and unjerk, I did in fact take a 2 credit course with a lab back in the day where we made bash scripts. But it still required searching for the format, so rejerk: for i in $(seq 1 5); do echo ‘Star Trek’ $i done