DEV Community

Discussion on: Daily Challenge #40 - Counting Sheep

Collapse
 
konaarctic profile image
Kona Arctic • Edited
#!/bin/bash
i=0
while [ $((++i)) -le $1 ] ; do
    echo $i sheep ...
done