We're a place where coders share, stay up-to-date and grow their careers.
#!/bin/bash i=0 while [ $((++i)) -le $1 ] ; do echo $i sheep ... done
Discussion on: Daily Challenge #40 - Counting Sheep