#!/bin/sh for p in 1 2 3 4 5 do echo $p done for p in `seq 6 10` do echo $p done