-index of the lines in file
Dan Yi 2013-02-05, 18:54
I have a file with one id(string) at each line,
Is there easy way given any id I can find its
Index in the file, eg the line #?
For example, the file looks like this:
Given item17, its index in the file is 3