KATYPE(1) K-AShare by Xinet (10/14/99 10.1) KATYPE(1)
NAME [Toc] [Back]
katype - determine file type
SYNOPSIS [Toc] [Back]
katype [ -c ] [ -m typefile ] file ...
DESCRIPTION [Toc] [Back]
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.
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 [Toc] [Back]
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 [Toc] [Back]
/usr/adm/appletalk/filetype - default list of type
SEE ALSO [Toc] [Back]
filetype(5) - description of specification format
strings(1) - tool for examining non-textfiles
od(1) - tool for examining non-textfiles
NOTICE [Toc] [Back]
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
Page 1 (printed 5/4/100)
[ Back ]