Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
On Mon, Jun 30, 2003 at 09:28:05AM -0400, paulc wrote: > 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 ? use the nl command : nl <filename> [redirect stdout to a file to save.] > > thanks > > paulc > > _______________________________________________ > Discuss mailing list > Discuss at blu.org > http://www.blu.org/mailman/listinfo/discuss > -- Jeff Kinz, Open-PC, Emergent Research, Hudson, MA. jkinz at kinz.org copyright 2003. Use is restricted. Any use is an acceptance of the offer at http://www.kinz.org/policy.html. Don't forget to change your password often.
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |