Re:Sorting in Emacs
by gumby on Saturday August 12, 2023 @11:58AM
(#37101504)
I've been using Emacs for over 40 years but still find the shell my go-to sorting approach. Right tool for the job and all that.
[ Parent
| on HN ]
I lean a fair bit in the opposite direction. If a sort is any more complex than -n or -k<number no flags>, I tend to vipe¹ my sort in my editor.
It feels great when you can use narrow-to-region² to perfect a complex address or write a custom function with all your editor's power at your fingertips. With the sad, but obvious, drawback that the changes aren't linked in your disjoint shell and editor history.
¹ https://manpages.debian.org/jessie/moreutils/vipe.1.en.html
² Nowadays, that is more likely https://github.com/chrisbra/NrrwRgn for me.