Re: How can we get the Line Number

2005-03-01 Thread Owen Cook
On Wed, 2 Mar 2005, Suneel Kumar B wrote: > > May be my earlier mail is missed somewhere.. I wish you all a nice day.. > > While matching a string with each line of a file, if the string is > matched with any of those lines, How can we get the line number of the > line w

How can we get the Line Number

2005-03-01 Thread Suneel Kumar B
Hi all, May be my earlier mail is missed somewhere.. I wish you all a nice day.. While matching a string with each line of a file, if the string is matched with any of those lines, How can we get the line number of the line where it is matched..? Is there any built-in function for fetching the