How would you make emacs write out line numbers into a file?
How would you go about writing a file from emacs that contains only the line numbers eg:
    1
    2
    3
    4
    5
Ideally this would be a command that you would execute (how?) that can be told how many lines to print. Is this possible?
How would you make emacs write out line numbers into a file?
===

How would you go about writing a file from emacs that contains only the line numbers eg:
    1
    2
    3
    4
    5
Ideally this would be a command that you would execute (how?) that can be told how many lines to print. Is this possible?