xref: /original-bsd/usr.bin/what/what.1 (revision c3e32dec)
1.\" Copyright (c) 1980, 1991, 1993
2.\"	The Regents of the University of California.  All rights reserved.
3.\"
4.\" %sccs.include.redist.roff%
5.\"
6.\"     @(#)what.1	8.1 (Berkeley) 06/06/93
7.\"
8.Dd
9.Dt WHAT 1
10.Os BSD 4
11.Sh NAME
12.Nm what
13.Nd "show what versions of object modules were used to construct a file"
14.Sh SYNOPSIS
15.Nm what
16.Ar name Ar ...
17.Sh DESCRIPTION
18.Nm What
19reads each file
20.Ar name
21and searches for sequences of the form
22.Dq \&@(#)
23as inserted by the source code control system.  It prints the remainder
24of the string following this marker, up to a null character, newline, double
25quote, or
26.Dq \&> character.
27.Sh BUGS
28As
29.Bx
30is not licensed to distribute
31.Tn SCCS
32this is a rewrite of the
33.Nm what
34command which is part of
35.Tn SCCS ,
36and may not behave exactly the same as that
37command does.
38.Sh HISTORY
39The
40.Nm
41command appeared in
42.Bx 4.0 .
43