dear all,
I am having problem writing a shell script to search datas in one file.
example of data stored in home/david/database.txt
database.txt:
------------
index name sex country
1 david m canada
2 cyntia f england
i wish to have a script to ask for user input, example:
pls enter name: david
name=david, what u want to search for david: country
ur search result:david, canada
Can any one help on this?