#!/bin/bash

i=0
while [ $i -lt 3 ]
do
 echo "$i"
  i=`expr $i + 1`
done
