1 a b c
2 d e f
3 g h i
I have the above configuration file. What I need is when I enter a letter (between a to i ) script should return the corresponding line no. or digit that assigned to the line. For eg. if I enter letter 'e', I should get 2.
let me know if have the answer.
thanks.