.key num_bottles set count set bword "bottles" LAB LOOP echo $count $bword "of beer on the wall." echo $count $bword "of beer." echo "Take one down, pass it around." set count `eval $count - 1` if $count eq 1 set bword "bottle" else set bword "bottles" endif echo $count $bword "of beer." echo "" if $count gt 0 skip LOOP BACK endif