diff options
| author | user <user@clank> | 2026-09-24 13:56:42 +0200 |
|---|---|---|
| committer | user <user@clank> | 2026-09-24 13:56:42 +0200 |
| commit | 0fa1b946ec5fd3f5cba49215ea9ab62c4004aa53 (patch) | |
| tree | 2d50213ab441f2543ba129241ceda29c5d9b496d /src/kdata.asm | |
| parent | ircd: enforce unique nicknames (433), announce renames, fold case (diff) | |
| download | gbos-0fa1b946ec5fd3f5cba49215ea9ab62c4004aa53.tar.gz gbos-0fa1b946ec5fd3f5cba49215ea9ab62c4004aa53.tar.xz gbos-0fa1b946ec5fd3f5cba49215ea9ab62c4004aa53.zip | |
usr: xxd - hex dump a file or stdin
Eight bytes per line rather than the usual sixteen: offset + 8 hex pairs +
the ASCII column is 38 of the terminal's 40 columns, where 16 would wrap
every line and make the dump unreadable. -c overrides it.
No -s (skip): there is no seek syscall, so it streams from the start - the
same reason tail(1) has to keep a ring.
/# xxd h
0000: 48 65 6c 6c 6f 20 67 62 Hello gb
0008: 6f 73 0d 0a os..
blk(1) could already peek at raw disk blocks; nothing could look inside a
file. Verified against known bytes, from stdin, with -c, through a pipe, and
on a missing file.
Diffstat (limited to 'src/kdata.asm')
0 files changed, 0 insertions, 0 deletions
