Dear Rob, This works for me. echo "abc/def" | sed 's/\//x/' resulting in "abcxdef". Regards, Mick /"\ \ / Linux Registered X ASCII Ribbon Campaign User #287765 / \ Against HTML Mail -- Gllug mailing list - Gllug at linux.co.uk http://list.ftech.net/mailman/listinfo/gllug