Could someone suggest the easiest way of doing lookups using a shell script?
For example, I have file containing:-
I want to lookup 'xyz' and return '5678'. What would be an appropriate tool? awk?
For example, I have file containing:-
abc
***
1234
xyz
***
5678
I want to lookup 'xyz' and return '5678'. What would be an appropriate tool? awk?