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

  man pages->OpenBSD man pages -> what (1)              



NAME    [Toc]    [Back]

     what - show what versions of object  modules  were  used  to
construct a file

SYNOPSIS    [Toc]    [Back]

     what [-s] file [...]

DESCRIPTION    [Toc]    [Back]

     what  reads  each  file and searches for sequences of either
the form ``$''
     immediately followed by the system name (sysname) as defined
by uname(3),
     or  the form ``@(#)'' as inserted by the source code control
system.  It
     prints the remainder of the string following this marker, up
to a NUL,
     newline, double quote, backslash, or `>' character.

     If  the -s option is specified, only the first occurrence of
an identification
 string in each file is printed.

EXIT STATUS    [Toc]    [Back]

     The what utility exits with a return value of 0 if any identification
     strings were found, or with a return value of 1 otherwise.

STANDARDS    [Toc]    [Back]

     The  what  utility  is expected to be a superset of the IEEE
Std 1003.1
     (``POSIX'') specification.

HISTORY    [Toc]    [Back]

     The what command appeared in 4.0BSD.

BUGS    [Toc]    [Back]

     As BSD is not licensed to distribute SCCS, this is a rewrite
of the what
     command  which  is  part of SCCS.  As such it may not behave
exactly the
     same as that command does.

OpenBSD      3.6                            May      1,      2003
[ Back ]
 Similar pages
Name OS Title
vimdiff Linux edit two or three versions of a file with Vim and show differences
diffmk HP-UX mark changes between two different versions of a file
sccsdiff IRIX compare two versions of an SCCS file
sccsdiff HP-UX compare two versions of an SCCS file
newfs_msdos OpenBSD construct a new MS-DOS (FAT) file system
newfs OpenBSD construct a new file system
mount_mfs OpenBSD construct a new file system
newfs_hfs HP-UX construct a new HFS file system
mfs OpenBSD construct a new file system
newfs HP-UX construct a new file system
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service