Concatenate strings retrieved from a file and write it into another file

Hi,

I have a file files.txt containing data as below:

abc;xyz
uvw;pqr
123;456

I want to develop strings like below using the above data and write them into another file:

www/xxx/abc/yyy/xyz
www/xxx/uvw/yyy/pqr
www/xxx/123/yyy/456

All this needs to be done through .sh file.

Could you please help?

 
nawk -F";" '{printf("www/xxx/%s/yyy/%s\n",$1,$2)}' files.txt 
sed 's/\(.*\);\(.*\)/\www\/xxx\/\1\/yyy\/\2/'  <File_Name>

just same as this..

awk -F";" '{print "www/xxx/"$1"/yyy/"$2}' inputfile

Alternate Sed..

sed 's|^|www/xxx/|;s|;|/yyy/|' inputfile > outfile