WHAT(1)                 NetBSD General Commands Manual                 WHAT(1)

NAME
     what -- search files for SCCS identifiers

SYNOPSIS
     what [-s] file ...

DESCRIPTION
     The what utility reads each file operand and searches for sequences of
     the form ``@(#)'' as inserted by SCCS and SCCS-compatible version control
     systems.  It prints the remainder of the string following this marker, up
     to a null character, newline, double quote, backslash, or ``>'' charac-
     ter.

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

EXIT STATUS
     The what utility exits 0 if any matches were found, and 1 otherwise.

STANDARDS
     The what utility conforms to X/Open Portability Guide Issue 4, Version 2
     (``XPG4.2'').

HISTORY
     The what command appeared in 4.0BSD.

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

NetBSD 8.0                     December 12, 2015                    NetBSD 8.0

You can also request any man page by name and (optionally) by section:

Command: 
Section: 
Architecture: 
Collection: 
 

Use the DEFAULT collection to view manual pages for third-party software.


©1994 Man-cgi 1.15, Panagiotis Christias
©1996-2019 Modified for NetBSD by Kimmo Suominen