{"id":17048529,"url":"https://github.com/hollasch/hex","last_synced_at":"2026-04-19T02:02:52.792Z","repository":{"id":7353944,"uuid":"8678210","full_name":"hollasch/hex","owner":"hollasch","description":"Simple hexadecimal file dump utility for Windows command line","archived":false,"fork":false,"pushed_at":"2023-11-23T10:31:09.000Z","size":58,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-23T04:11:54.912Z","etag":null,"topics":["c-plus-plus","command-line","command-line-tool","dumps","hexadecimal","windows"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hollasch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-03-10T00:04:58.000Z","updated_at":"2024-12-04T01:08:39.000Z","dependencies_parsed_at":"2023-11-23T11:33:08.887Z","dependency_job_id":"0ed127fd-52a3-49b3-a314-cac6b6ce34ca","html_url":"https://github.com/hollasch/hex","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/hollasch/hex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollasch%2Fhex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollasch%2Fhex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollasch%2Fhex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollasch%2Fhex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hollasch","download_url":"https://codeload.github.com/hollasch/hex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hollasch%2Fhex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271019872,"owners_count":24685757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","command-line","command-line-tool","dumps","hexadecimal","windows"],"created_at":"2024-10-14T09:52:16.174Z","updated_at":"2026-04-19T02:02:52.710Z","avatar_url":"https://github.com/hollasch.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"hex\n====================================================================================================\nA hexadecimal dump for the Windows command line.\n\n\nSummary\n--------\nThis is a simple hexadecimal print utility that reads input from the standard input stream or from\nfiles specified on the command line. See doc/hex.html for usage information.\n\n\nUsage\n------\n    hex v1.1.0  2020-10-03  https://github.com/hollasch/hex\n\n    hex:    dumps the contents of a file in hex and ASCII\n    usage:  hex [--byte|-b] [--word|-w] [--longword|-l] [--quadword|-q]\n                [--octword|-o] [--compact|-c]\n                [\u003c-s|--start\u003e \u003cstart\u003e] [\u003c--end|-e\u003e \u003cend\u003e] [file] ... [file]\n\n        This tool dumps the contents of a file in hexadecimal and ascii. If no\n        filenames are supplied, hex reads from the standard input stream.\n\n        --byte,-b      Display output grouped by bytes\n        --word,-w      Display output grouped by words (16-bits)\n        --longword,-l  Display output grouped by longwords (32-bits)\n        --quadword,-q  Display output grouped by quadwords (64-bits)\n        --octword,-o   Display output grouped by octwords (128-bits)\n\n        --compact, -c\n            Compact duplicate lines. Blocks of identical data are represented by the\n            first line of data followed by a single line of \\\"====\\\".\n\n        --start \u003caddress\u003e, -s \u003caddress\u003e\n        --end \u003caddress\u003e, -e \u003caddress\u003e\n            Start/end the dump at the given location. To specify octal, prefix with\n            '0'. To specify hexadecimal, prefix with '0x'. For example, 200 = 0310 =\n            0xc8.\n\n        --version\n            Display version information\n\n\nDescription\n------------\n`hex` is a filter that reads data from either standard input (if no filenames are supplied) or from\nthe list of files, and dumps the data in hexadecimal and ASCII. Note that options may be prefixed\nwith either a `'-'` or with a `'/'` character, and that you can put spaces between the switch letter\nand the argument (for example, \"`-e200`\" or \"`-e 200`\").\n\nTo specify hexadecimal values, prefix with \"`0x`\". to specify octal values, prefix with \"`0`\"\n(zero). for example, `200` = `0310` = `0xc8`.\u003c/p\u003e\n\n**Important**: From the command line, DOS does redirection streams as text, rather than binary. This\nmeans that if you want to look at a binary data file, you should probably specify the filename on\nthe command line (for example, `hex foo.xyz`) rather than as a redirection (as in `hex \u003cfoo.xyz`).\nIn the latter case, a ctrl-z character looks like an end-of-file, and your binary files will likely\nappear much shorter than they really are.\n\n\nExamples\n---------\n\nTo dump the contents of file `frotz.zzz` to screen:\n\n    hex frotz.abc | more\n\nTo dump the words from 0x200 to 0x240 for files _file1_, _file2_ and _file3_:\n\n    hex --start 0x200 --end 0x240 --word file1 file2 file3\n\n\nBuilding\n---------\nThis project uses `CMake` to build the hex tool. Among other sources, you can find CMake at\nhttps://cmake.org/.\n\nTo configure this project for the default configuration for your machine, go to the root of this\nproject and run the command\n\n    cmake -B build\n\nThis will create a new directory, `build/`, which will contain all of the project output, and the\nconfigured build setup.\n\nTo build, run\n\n    cmake --build build\n\nThis will build the debug version. To build the release version, run\n\n    cmake --build build --config Release\n\nYou will find the built executable in `build/Debug` or `build/Release`.\n\n\nInstallation (Windows)\n-----------------------\n`hex.exe` is a standalone executable. Copy it to any location on your command path and use as-is.\nNo other installation steps are required.\n\n\n----\nSteve Hollasch (steve@hollasch.net)\u003cbr\u003e\nhttps://github.com/hollasch/hex\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhollasch%2Fhex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhollasch%2Fhex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhollasch%2Fhex/lists"}