|
|
Log in / Subscribe / Register

sort -E

sort -E

Posted Feb 13, 2025 9:19 UTC (Thu) by alx.manpages (subscriber, #145117)
In reply to: sort -E by adobriyan
Parent article: Rewriting essential Linux packages in Rust

I recently wrote a program to sort manual-page file names in the order that they would appear in the book.

intro.2
membarrier.2
umask.2
intro.3
printf.3
id_t.3type
useconds_t.3type

<https://git.kernel.org/pub/scm/docs/man-pages/man-pages.g...>

Something similar could be written to implement your sorterrors program. It's such a niche thing, and different programs format errors slightly differently, that I don't think it would make much sense to add a sort(1) option. But it would make sense to write your own script if it's useful to you.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds