#!/bin/sh if [ s$1 == s ] || [ -f $1.content ]; then echo "Parameter?" exit 2 fi cp x.content $1.content sed -e s/0/$1/g < x.php > $1.php