what(1) ultrix man page | unix.com

Man Page: what

Operating Environment: ultrix

Section: 1

what(1) 						      General Commands Manual							   what(1)

Name
       what - display ID keywords from SCCS file

Syntax
       what [-s] files

Description
       The command searches the given files for all occurrences of the pattern that substitutes for %Z% (this is @(#) at this printing) and prints
       out what follows until the first ", >, new-line, , or null character.  For example, if the C program in file f.c contains

	    char ident[] = "@(#)identification information";

       and f.c is compiled to yield f.o and a.out, then the command

	    what f.c f.o a.out

       will print

	    f.c:
		    identification information

	    f.o:
		    identification information

	    a.out:
		    identification information

       Use in conjunction with the SCCS command which automatically inserts identifying information, but information can also  be  inserted  manu-
       ally.

Restrictions
       It is possible that an unintended occurrence of the pattern @(#) could be found.  This causes no harm in nearly all cases.

Diagnostics
       Use for explanations.

Options
       -s     Quit after finding the first occurrence of the pattern in the file.

See Also
       get(1), sccshelp(1), sccs(1)
       Guide to the Source Code Control System

																	   what(1)
Related Man Pages
what(1) - opensolaris
sccshelp(1) - osf1
what(1) - x11r4
what(1) - minix
what(1) - xfree86
Similar Topics in the Unix Linux Community
What are the three laws of Robotics?
What's your drink?
What is Your Favorite Web Browser?
What editor does everyone use?
What is your favorite Linux distro?