Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ katype(1) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

filetype(5)

strings(1)

od(1)



     KATYPE(1)        K-AShare by Xinet (9/29/94 8.1)        KATYPE(1)



     NAME
          katype - determine file type

     SYNOPSIS
          katype [ -c ] [ -m typefile ] file ...

     DESCRIPTION
          Katype tests each argument in an attempt to classify it.  It
          uses the same algorithm as K-AShare to determine the
          Macintosh Finder Information, FileType and FileCreator for
          files resident in the UNIX filesystem.  The main purpose of
          katype is to check the proper working of the file typing
          heuristics.  See filetype(5) for a discussion of these.
          Flags include:

          -m typefile
               specifies an alternate file of specifications.  This is
               useful when one wants to test the applied heuristics.

          -c   gives a test printout of the parsed form of the
               specification file.  This is usually used in
               conjunction with -m to debug a new specification file
               before installing it.

     CAVEATS
          Katype does not show how a file is typed currently, only how
          it would be typed in the future.  Use kats(1) to check and
          set the type of a particular file.

     FILES
          /usr/adm/appletalk/filetype - default list of type
          specifications

     SEE ALSO
          filetype(5) - description of specification format
          strings(1) - tool for examining non-textfiles
          od(1) - tool for examining non-textfiles

     NOTICE
          This program is inspired by the public domain version of
          file(1), by Ian Darwin of SoftQuad, Canada, which is in turn
          inspired by the System V and older UNIX version of the
          file(1) commands.












     Page 1                                          (printed 3/26/98)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026