Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexyl output fail when piped through more #32

Closed
mhewett-ks opened this issue Jan 11, 2019 · 2 comments
Closed

hexyl output fail when piped through more #32

mhewett-ks opened this issue Jan 11, 2019 · 2 comments

Comments

@mhewett-ks
Copy link

mhewett-ks commented Jan 11, 2019

hexyl-more-fail-2019-01-11

This is on Mac OS 10.14.2 in the bash shell.
Installed today with 'brew install hexyl'

@mhewett-ks mhewett-ks changed the title hexyl fails when piped through more hexyl output fail when piped through more Jan 11, 2019
@kilobyte
Copy link

This is a case of #30 — many tools are not capable of accepting ANSI codes.

Besides, may I ask why do you even use more this millenium? It has been obsoleted by less mere 35 years ago. But even less doesn't default to accepting ANSI, you need to specify less -R.

The core issue is real; almost all other programs won't write color when redirected. It's debatable only because hexyl's value is the coloring — without it, you're probably better off using hd instead, as the latter can do anything that hexyl can, plus more. But then, most of hd's features are pointless these days.

@sharkdp
Copy link
Owner

sharkdp commented Jan 13, 2019

Let's continue this discussion in #30.

@sharkdp sharkdp closed this as completed Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants