john gennard wrote: > > I'm having to look for certain lines in code and have been doing so > by laboriously counting down the program. As many error messages > make reference to line numbers, I feel sure there must be a simple > way to locate say 'line 1267' How do people go about this?
in vi you can also type (esc if you're in insert mode) :set number to see the line numbers... the other way (kinda perverse) to do it is: when you're at the beginning of the file, type in the number of the line - 1 and press j (to go down that number of lines)... erik