Database
rina lives:fatin:20:20:20
rina:fatin:20:20:20
i am having a small problem in extracting out the information from the database. For example, if i were to input a book titled rina into my search , i would only want it to display the row which has the title rina, like this
rina:fatin:20:20:20
but when i use a coding like this :
grep -i "$Title" fruit| awk -F":" '{ print $0}'`
its displays both titles and their information
rina lives:fatin:20:20:20
rina:fatin:20:20:20
for some reason, it will read both rows as both contains the word "rina". does anybody know how i can modify my statement to solve this problem?