MirBSD manpage: what(1)

WHAT(1)                      BSD Reference Manual                      WHAT(1)


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


     what [-s] [file [...]]


     what reads each file and searches for sequences of the form "@(#)" as in-
     serted 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 identifi-
     cation string in each file is printed.


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


     The what utility is expected to be a superset of the IEEE Std 1003.1
     ("POSIX.1") specification. In MirBSD #5 and up, the ability to operate on
     standard input is restored.


     The what command appeared in 4.0BSD.


     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.

MirBSD #10-current             October 13, 2006                              1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung