Sunday, September 30, 2012

Re: Matching/Sorting line terminations

On Sep 30, 9:14 am, jbl <lethbri...@jblethbridge.com> wrote:
> The problem is this: I have a large file of poetry in
> alphabetical order sorted on the last term in each line,

This will sort the lines by the last term:

sort ir /\w\+$/

:help :sort

Bill

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: