On Oct 9, 12:24 am, grandpa <[EMAIL PROTECTED]> wrote: > hi, everyone > > There was a existed commander named sort, I wonder why don't you > use it? > > :help sort > > To sort test.txt is quite easy, right? > > ---start test.txt--- > 0100 > 0012 > 0009 > 0123 > BAAA > ACCC > ABCD > BDAA > BAAA > ACCC > ABCD > BDAA > 0100 > 0012 > 0009 > 0123 The test.txt used in these examples is a intentionally over-simplified example to allow easier debugging. The original task to be accomplished in this thread was sorting on a given column in a CSV file, with multiple other columns that should not affect the sort. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
- Re: Vim Tips wiki celebrates with a CSV tip nh_wzg
- RE: Vim Tips wiki celebrates with a CSV tip John Beckett
- Re: Vim Tips wiki celebrates with a CSV tip Brian L. Matthews
- RE: Vim Tips wiki celebrates with a CSV ti... John Beckett
- RE: Vim Tips wiki celebrates with a CSV tip nh_wzg
- RE: Vim Tips wiki celebrates with a CSV ti... John Beckett
- Re: Vim Tips wiki celebrates with a CS... Tony Mechelynck
- Re: Vim Tips wiki celebrates with... grandpa
- Re: Vim Tips wiki celebrates ... fritzophrenic
- Re: Vim Tips wiki celebrates with a CS... Christian Brabandt
- RE: Vim Tips wiki celebrates with a CSV ti... John Beckett
- RE: Vim Tips wiki celebrates with a CSV tip John Beckett
- Re: Vim Tips wiki celebrates with a CSV tip grandpa
- RE: Vim Tips wiki celebrates with a CSV tip nh_wzg
- RE: Vim Tips wiki celebrates with a CSV ti... John Beckett
- RE: Vim Tips wiki celebrates with a CSV ti... John Beckett
- RE: Vim Tips wiki celebrates with a CS... nh_wzg
- RE: Vim Tips wiki celebrates with... John Beckett
- RE: Vim Tips wiki celebrates with... John Beckett