• DefederateLemmyMl
    link
    fedilink
    English
    arrow-up
    2
    ·
    9 months ago

    elephant_generator.sh

    #!/bin/bash
    elephantCount=0
    for (( i=0; i<=${elephantCount}; i++ )); do
        echo "Insert elephant ${i}"
    done
    
    • DoomBot5@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      9 months ago

      That’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.