Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: