Cheers, Just want I was looking for. pre comit $ sed "s|`pwd`|ROOT_DIR|g" TEST > TEST post sync. $ sed "s|ROOT_DIR|`pwd`|g" TEST > TEST John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20080816/a8b54198/attachment.htm