What's a good hex editor/viewer for the Mac? I've used xxd for viewing hexdumps, and I think it can be used in reverse to make edits. But what I really want is a real hex editor.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 7 years ago.
回答1:
To view the file, run:
xxd filename | less
To use Vim as a hex editor:
- Open the file in Vim.
- Run
:%!xxd
(transform buffer to hex) - Edit.
- Run
:%!xxd -r
(reverse transformation) - Save.
回答2:
- Open file with Xcode and press Command + Shift + J
- Right click file name in left pane
- Open as -> Hex
回答3:
One recommendation I've gotten is Hex Fiend.
回答4:
On http://www.synalysis.net/ you can get the hex editor I'm developing for the Mac - Synalyze It!. It costs 7 € / 40 € (Pro version) and offers some extra features like histogram, incremental search, support of many text encodings and interactive definition of a "grammar" for your file format.
The grammar helps to interpret the files and colors the hex view for easier analysis.
回答5:
I have recently started using 0xED, and like it a lot.
回答6:
There are probably better options, but I use and kind of like TextWrangler for basic hex editing. File -> hex Dump File
回答7:
The one that I like is HexEdit Quick and easy to use