#!/bin/sh if [ "x$1" == "x" ]; then echo "Not enough arguments" exit 1 fi for i in `seq $1`; do ./newpage $i done