


MACUNPACK(L)                                         MACUNPACK(L)


NNAAMMEE
       hexbin - Macintosh file de-debinhexer

SSYYNNOOPPSSIISS
       hheexxbbiinn [ -- ooppttiioonnss ] [ files ]

DDEESSCCRRIIPPTTIIOONN
       _h_e_x_b_i_n  takes  the  specified text file specified in _f_i_l_e_s
       (or standard input if none is specified) and converts  the
       files it contains subject to the _o_p_t_i_o_n_s specified.

OOPPTTIIOONNSS
       In  the absence of any options, _h_e_x_b_i_n takes the specified
       files and silently converts the file(s) it  contains  into
       MacBinary  format,  giving  the output files ".bin" exten-
       sions and placing them in the current working directory.

       --33     Write files in fork format (.info, .data and  .rsrc
              files)

       --ff     As  -3,  but empty data and rsrc files are not cre-
              ated

       --rr     Write resource forks only (.rsrc files)

       --dd     Write data forks only (.data files)

       --uu     As -d, but the codes for CR and LF are interchanged

       --aa     Write  files  in  AUFS format.  This option is only
              valid if the program is compiled with AUFS support.
              The  current directory must be a valid AUFS folder.

       --ss     Write extracted files to standard output in  MacBi-
              nary format.

       --ll     List   every   file  extracted  (and  every  direc-
              tory/folder created etc.)

       --vv     Like -l, but more verbose.   When  this  option  is
              specified  all  lines  skipped  because they do not
              belong to the hexified format are  listed  (Implies
              -l)

       --ii     Do not convert, give information only (Implies -l)

       --cc     Do  not check whether the hexified lines have equal
              size.  Normally the hexifiers gives text files with
              equal  length  line  size,  hexbin uses this in its
              heuristics to determine  whether  a  line  must  be
              skipped.   There are however hexified files that do
              not conform to that pattern.   If  this  option  is
              specified  hexbin  will  in  general  be  unable to
              detect whether a line is garbage  or  not,  so  you



                          July 13, 1991                         1





MACUNPACK(L)                                         MACUNPACK(L)


              have to remove the garbage by hand.

       --nn nnaammee
              Gives  the  Unix  base  file name for the converted
              files.  For files hexified with BinHex 4.0 or  com-
              patible  hexifiers  this flag is not needed; hexbin
              will determine the Unix file name based on the  Mac
              file name.  For files in dl, hex or hcx format this
              parameter may be needed as  these  formats  do  not
              include  the Mac filename.  Normally hexbin will in
              those cases base the Unix file  name  on  the  text
              file  name,  but  that  can  be overruled with this
              parameter.

       --VV     Gives the patchlevel  of  the  program,  and  other
              information.   Other  options  are  ignored and the
              program quits immediately.

       --HH     Give short information about  the  options.   Other
              options  are  ignored and the program quits immedi-
              ately.

BBUUGGSS
       As this is a beta release, there may still be  some  prob-
       lems.

AAUUTTHHOORR
       Dik T. Winter, 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.

























                          July 13, 1991                         2


