VI Editor, :set nu

paulc paul.cour at verizon.net
Mon Jun 30 09:28:05 EDT 2003


The vi editor has a neat function to enumerate the lines
of a file with numbers, as in ' :set nu ' ...

I would like to be able to do this
and capture the file (with the line numbers)
so that I can save the file for an example, 
then print out (???)

Is there a way to enumerate a file of code
so that I can save, with line numbers ?

thanks 

paulc




More information about the Discuss mailing list