-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
Hi,
I noticed two prominent utilities missing from uutils: the less and more paginators.
As with many software components, Rust implementations of less and more would be much appreciated.
Note that both utilities corrupt file data. Hard tabs are rendered as spaces. When copied to the clipboard or otherwise fed downstream, then Go source files, makefiles, and other systems sensitive to indentation style end up breaking down. Recommend preserving runes as-is during pagination.
This glitch happens with less and more in macOS. I suspect less and more similarly misbehave on various other BSD's. Perhaps on Linux. Perhaps in Command Prompt, Windows PowerShell, and the nightmare PowerShell Core interpreters as well.
There doesn't appear to be a POSIX entry for less. However, there is one for more.
https://pubs.opengroup.org/onlinepubs/9799919799/utilities/more.html
Work with the "Austin group" so that POSIX gains an entry for less; and has both less and more require rune preservation during pagination.