Top "Line-numbers" questions

The line number (position) of a line of text or code inside a file, often for debugging.

Command for toggling line numbers in vi

I know :set number and :set nonumber I want to know whether there is any command in vi/vim :set …

vim vi line-numbers
Python debugging: get filename and line number from which a function is called?

I'm currently building quite a complex system in Python, and when I'm debugging I often put simple print statements in …

python debugging line-numbers inspect
How do I extract lines from a file using their line number on unix?

Using sed or similar how would you extract lines from a file? If I wanted lines 1, 5, 1010, 20503 from a file, how …

unix sed awk line-numbers text-extraction
Relative Line Numbers In Emacs

Does anyone know how if something like this Vim Relative Line Numbers exists for emacs? I use vimpulse, and man, …

emacs line-numbers vimpulse
Current line number from a System.Xml.XmlReader (C# & .Net)

Does anyone know how I can get the current line number of an System.Xml.XmlReader? I am trying to …

c# .net xml xmlreader line-numbers
java decompiler with save line numbers in actual physical position

Many IDE's debugger match the physical line number. I'm looking for java decompiler with saving actual line number in decompiling …

java decompiling line-numbers
Show LineNumbers from the RichTextBox in WPF

I found an example, how to show the LineNumbers from a RichTextBox in Windows Forms. http://www.codeproject.com/Articles/38858/…

c# wpf richtextbox line-numbers
Most Compact Way to Count Number of Lines in a File in C++

What's the most compact way to compute the number of lines of a file? I need this information to create/…

c++ linux unix line-numbers
Why did we bother with line numbers at all?

When you write something in BASIC, you are required to use line numbers. Like: 10 PRINT "HOME" 20 PRINT "SWEET" 30 GOTO 10 But …

basic line-numbers