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