#!/bin/sh set `cat .xversion` echo $1 $2 `expr $3 + 1` > .xversion cat .xversion #running this makes existing .x files obsolete