Comments (6)
I'd go with --width N
/--columns N
first. Once this functionality works reliably (or errors) for all possible N
, we can think of adding the auto-width feature which would simply calculate a certain N
internally.
It might also be a good idea to look at hexdump
and/or xxd
. If possible, we should even aim for drop-in compatibility for some options (like I did for -n
/--length
). Not sure if that should be our prime goal, though.
from hexyl.
Sounds good, but would probably require a small rewrite of the layout rendering "logic".
from hexyl.
Updated option proposals to actually have something. :)
from hexyl.
And yes, I'd be more than happy if you would work on this!
from hexyl.
It'd probably be good to, by default for -a
, observe alignment to 64 bits. Any my use of hd
I recently remember that didn't work on a text file dealt with data aligned to either 32 or 64 bits. This also matches hexyl's current display.
from hexyl.
I think this should still be open, because --columns
is not the same as --width
(it's similar to --width
for a limited number of widths, that are multiples of 8)
from hexyl.
Related Issues (20)
- Feature Request: Specify length for displaying output HOT 7
- Add hexyl.1 man page to source tree? HOT 19
- Feature Request: Show byte 00~1f and 7f in UnixP form in text area HOT 1
- Hexyl show garbage on LXTerminal HOT 2
- Add option to disable printing 0 bytes as ascii 0. HOT 1
- `--no-characters` causes output artifacts when squeezing lines HOT 5
- Is there a cheat sheet anywhere telling what color correlates to category of byte? HOT 3
- Add support for the NO_COLOR environment variable HOT 4
- Regression: broken pipe error
- Make --panels=auto the new default? HOT 3
- hexyl should not fail if `--panels=auto` is used and output is not a TTY
- Identical lines not squeezed HOT 3
- hexyl -C does the inverse of hexdump -C HOT 1
- Request: publish source tar with generated manpage HOT 3
- Support for different code pages / character tables
- Incorrect output when reading from terminal HOT 2
- Feature request: Ship as a crate HOT 3
- `hexyl /dev/zero` hangs HOT 6
- Display some non-printable characters like `bat --show-all` HOT 5
- Feature request: Comodore prg mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hexyl.