hpux man page for what

Query: what

OS: hpux

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

what(1) 						      General Commands Manual							   what(1)

NAME
what - get SCCS identification information
SYNOPSIS
file ...
DESCRIPTION
The command searches the given files for all occurrences of the pattern that get(1) substitutes for (currently @(#) at this printing) and prints out what follows until the first ", new-line, or null character. For example, if the C program in file contains and is compiled to yield and the command prints identification information identification information identification information is intended to be used in conjunction with the SCCS command (see get(1)) which automatically inserts identifying information, but it can also be used where the information is inserted manually. Options recognizes the following option: Quit after finding the first occurrence of pattern in each file.
EXTERNAL INFLUENCES
Environment Variables determines the interpretation of the pattern substituted for as single- and/or multi-byte characters. determines the language in which messages are displayed. If or is not specified in the environment or is set to the empty string, the value of is used as a default for each unspecified or empty variable. If is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of If any internationalization variable contains an invalid setting, behaves as if all internationalization variables are set to "C". See environ(5). International Code Set Support Single-byte and multi-byte character code sets are supported.
DIAGNOSTICS
Exit status is 0 if any matches are found, otherwise 1. Use for explanations (see sccshelp(1)).
WARNINGS
The pattern @(#) may occasionally appear unintentionally in random files, but this causes no harm in nearly all cases.
SEE ALSO
get(1), sccshelp(1).
STANDARDS CONFORMANCE
what(1)
Related Man Pages
rmdel(1) - hpux
sccshelp(1) - hpux
val(1) - hpux
what(1) - debian
what(1) - centos
Similar Topics in the Unix Linux Community
line number of the i-th occurrence of a pattern
counting number of pattern occurrences
How to find all the multi line pattern and redirecting it to a file?