Cant figure out this..

Hi, I need a little help here. I am exporting user info from a PSQL database and everything is working with the exception of this:

10029008:dsAuthMethodStandard\:dsAuthClearText:classword:10029008:2004:10029008:10029008:/home/student/1002/90/08:10029008

It is putting a colon right before the last numbers. I need to have a / to complete the home path. Any suggestions are welcome and I appreciate this forums help.

Thanks,
JW

Here is an attempt....

#!/bin/sh

first()
{
        echo $1
}

second()
{
        echo $2
}

handle_b()
{
        IFS=":"
        export IFS
        echo $@ | while read X Y
        do
                echo $X $Y
        done
}

IFS=":"
export IFS
while read A B C D E F G H I J K L M N O P Q
do
        (
                IFS=" "
                B1=`handle_b $B`
                B2=`first $B1`
                B3=`second $B1`
                echo $A\:$B2\\:$B3\:$C\:$D\:$E\:$F\:$G\:$H/$I
        )
done