You can work on something like this,
Code:
while read line
do
set -- $line
# you can also use echo -e
printf -- "-----\nThe number of the person is $1\nThe name of the person is $2\n$2 lives in a $3\n"
done < file
Output
Code:
-----
The number of the person is 10
The name of the person is John
John lives in a house
-----
The number of the person is 20
The name of the person is Jane
Jane lives in a apt
-----
The number of the person is 30
The name of the person is Joe
Joe lives in a townhome