HEXBIN(1)
π HEXBIN π
okay bestie, welcome to hexbin β the Macintosh file de-binhexer, manual page HEXBIN(1), from the General Commands Manual. she's giving retro Mac energy and she is so ready to unpack your text files π
β¨ NAME β¨
hexbin β Macintosh file de-binhexer π¦
πΈ SYNOPSIS πΈ
hexbin [ - options ] [ files ]
π« DESCRIPTION π«
so like, hexbin takes the text files you list in files β or straight-up standard input if you don't name any β and converts them, subject to whatever options you picked. that's the whole vibe. no cap. β¨
π OPTIONS π
and now the main character section π
if you pass no options at all, hexbin just quietly scoops up the files you named and converts them into MacBinary format, slaps a ".bin" extension on the output files, and drops them in the current working directory. silent. effortless. iconic.
-3β write files in fork format (the.info,.dataand.rsrcfiles). three-for-one, we love to see it π«Ά-fβ same as-3, except empty data and rsrc files justβ¦ don't get created. if there's nothing to put in them, they don't exist. minimalism β¨-rβ write resource forks only (.rsrcfiles).-dβ write data forks only (.datafiles).-uβ like-d, but the codes for CR and LF get interchanged, and the filename extension becomes.text. little swap, big difference π-Uβ same as-u, but with no filename extension at all. naked filename. bold.-aβ write files in AppleShare format. π careful though: this one is only valid if the program was compiled with support for some form of AppleShare, and the current directory has to be a valid AppleShare folder. no AppleShare, no party.-sβ write the extracted files to standard output in MacBinary format. straight to stdout, no files left behind π-lβ list every file extracted (and every directory/folder created, etc.). receipts for everything π-vβ like-l, but more verbose. when you turn this on, all the lines that got skipped because they don't belong to the hexified format get listed too. (this implies-l.) it's giving full transparency π₯-iβ do not convert, give information only. (this implies-l.) look but don't touch energy π-cβ do not check whether the hexified lines have equal size. normally hexifiers produce text files with equal length line size, andhexbinuses that as part of its heuristics to decide whether a line must be skipped. but there are hexified files that just do not conform to that pattern. if you specify this option,hexbinwill in general be unable to detect whether a line is garbage or not β so you have to remove the garbage by hand. bestie, that's on you π-nname β gives the Unix base file name for the converted files. for files hexified with BinHex 4.0 or compatible hexifiers you do not need this flag;hexbinwill determine the Unix file name based on the Mac file name. for files indl,hexorhcxformat though, you may need this parameter, because those formats don't include the Mac filename. normallyhexbinwill in those cases base the Unix file name on the text file name, but this parameter can overrule that. π-Vβ gives the patchlevel of the program, plus other information. other options are ignored and the program quits immediately. bye bestie π-Hβ give short information about the options. other options are ignored and the program quits immediately. the quick little cheat sheet π
π BUGS π
as this is a beta release, there may still be some problems. she's still growing, okay? be nice to her π
π SEE ALSO π
π AUTHOR π
Dik T. Winter, CWI, Amsterdam, The Netherlands (dik@cwi.nl)
parts of the code are based on codes from: ahm (?), Darin Adler, Jim Budler, Dave Johnson, Dan LaLiberte, Jeff Meyer, Guido van Rossum. shoutout to the whole group chat π«Άβ¨
and that's the page, bestie!! this one's from the 3rd Berkeley Distribution, dated October 22, 1992 β vintage but still serving π
HEXBIN(1), that's a wrap ππ
π¦ where this page comes from
- debian bookworm: macutils 2.0b3-17
- debian trixie: macutils 2.0b3-17
- ubuntu jammy: macutils 2.0b3-17
- ubuntu noble: macutils 2.0b3-17
- ubuntu questing: macutils 2.0b3-17.1
- ubuntu resolute: macutils 2.0b3-17.1build1
- ubuntu stonking: macutils 2.0b3-17.1build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms