"Paul McCourt" writes: >I'm getting a little somewhere with sed e.g. s/$/test/ >puts it a the start but I can't work out how to put it at the end! That should put it at the end. Use ^ to put it at the start: sed -e 's/^/prefix/' -e 's/$/suffix/' Tet -- Gllug mailing list - Gllug at linux.co.uk http://list.ftech.net/mailman/listinfo/gllug