*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> katype (1)              


     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.
	  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    [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
	  file(1) commands.

     Page 1					     (printed 5/4/100)

[ Back ]
 Similar pages
Name OS Title
fstyp HP-UX determine file system type
isdialuptty FreeBSD determine tty type from ttys file entry
isfdtype OpenBSD determine whether a file descriptor is of a specific type
isnettty FreeBSD determine tty type from ttys file entry
DtDtsDataTypeIsAction HP-UX determine if the data type is an action
isnan IRIX determine type of floating-point number
rqsread IRIX reads the information out of an ELF file that is needed to determine if the file needs to be requickstarted
isastream Tru64 Determine if a file descriptor refers to a STREAMS file
access HP-UX determine accessibility of a file
access IRIX determine accessibility of a file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service