I'm trying to find a way to use vi to display the line number of a file of the first occurance of a word in a file.
I guess i could use awk but was wondering if their was another way to do it in vi.
Mike
michael.j.lacey@ntlworld.com
Email welcome if you're in a hurry or something -- but post in tek-tips as well please, and I will post my reply here as well.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.