#!/bin/sh # fizzbuzz for i in `seq 1 30` do if [ `expr $i % 3` -eq 0 ]; then echo -n "fizz" elif [ `expr $i % 5` -eq 0 ]; then echo -n "buzz" else echo -n $i fi echo done