[Linux-disciples] Sorting lines matching a pattern

Chung-chieh Shan ccshan at post.harvard.edu
Sun Jul 24 23:22:42 EDT 2005


On 2005-07-24T23:19:36-0400, Stephen R Laniel wrote:
> 3) With those lines selected, sort them. But what's the '-1'
> about? Does that mean 'back up one line'?

Yes.  :help :range

> This method doesn't generalize to documents formatted like
> so, does it?

It does, but it doesn't work if the last line of the file begins with * .


More information about the Linux-disciples mailing list