Could you please try the following code please.
Let us say test_file have the data as per your request.
$ cat test_file.ksh
value1=`awk -F: '{print$2}' test_file`
value2=`awk -F: '{print$1}' test_file`
k=0
l=0
set -A array_value1 ${value1}
set -A array_value2 ${value2}
for i in ${array_value1[@]}
do
l=0
for j in ${array_value2[@]}
do
if [[ $k -eq $l ]]
then
echo $j
echo $i
fi
let "l = l +1 "
done
let "k =k +1 "
done
Then Output should be as follows.
$ ksh test_file.ksh
Post1
uri
Post2
urieop
Post3
urtei