On 2025-11-18 00:32, Vim Users wrote:
> On 17.11.25 17:30, Tim Chase wrote:
> >???? :2,$sort?? " sort by the first column
> >???? :2,$sor /[^^I]*^I/???? " sort by the second column
> >???? :2,$sor /\([^^I]*^I\)\{2}/ " sort by third column
> >???? :2,$sor /\([^^I]*^I\)\{3}/ " sort by the fourth column
> >???? :2,$sor n /\([^^I]*^I\)\{4}/ " sort numerically by the fifth column
>
> !}sort -k 1
Even better! At least as long as you're on a Unix-like system where
sort(1) is competent (its availability on Windows is a bit less useful)
-tim
--
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aRvIQ6-0LjfdRQB7%40thechases.com.
Monday, November 17, 2025
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment