The Picard Maneuver to Funny: Home of the Haha • 9 months agoGood effortstartrek.websiteimagemessage-square129fedilinkarrow-up11Karrow-down111
arrow-up1992arrow-down1imageGood effortstartrek.websiteThe Picard Maneuver to Funny: Home of the Haha • 9 months agomessage-square129fedilink
minus-squareDefederateLemmyMllinkfedilinkEnglish2•9 months agoelephant_generator.sh #!/bin/bash elephantCount=0 for (( i=0; i<=${elephantCount}; i++ )); do echo "Insert elephant ${i}" done
minus-square@DoomBot5linkEnglish0•9 months agoThat’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.
elephant_generator.sh
#!/bin/bash elephantCount=0 for (( i=0; i<=${elephantCount}; i++ )); do echo "Insert elephant ${i}" done
That’s all fine, but the issue comes from the natural language processing layer. “elephants == elephant > 1” so elephant = 1 is still valid.