IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 1 > what man page

what man page

Section 1 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





User Commands                                             what(1)



NAME
     what - extract SCCS version information from a file

SYNOPSIS
     what [-s] filename...

DESCRIPTION
     The what utility searches each filename for  occurrences  of
     the pattern @(#) that the SCCS get command (see sccs-get(1))
     substitutes for the %Z% ID keyword, and prints what  follows
     up to a ", >, NEWLINE, \, or NULL character.

OPTIONS
     The following option is supported:

     -s       Stops after the first occurrence of the pattern.



EXAMPLES
     Example 1: Extracting SCCS version information

     If a C program in file program.c contains

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

     and program.c is compiled to yield program.o and a.out,  the
     command:

     example% what program.c program.o a.out

     produces:

     program.c:      identification information



     program.o:      identification information



     a.out:          identification information



EXIT STATUS
     The following exit values are returned:

     0        Any matches were found.






SunOS 5.10          Last change: 30 Sep 2002                    1






User Commands                                             what(1)



     1        No matches found.



ENVIRONMENT VARIABLES
     See environ(5) for descriptions of the following environment
     variables  that  affect the execution of what: LANG, LC_ALL,
     LC_CTYPE, LC_MESSAGES, and NLSPATH.

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWsprot                   |
    |_____________________________|_____________________________|
    | Interface Stability         | Standard                    |
    |_____________________________|_____________________________|


SEE ALSO
     sccs(1),  sccs-admin(1),  sccs-cdc(1),  sccs-comb(1),  sccs-
     delta(1),   sccs-get(1),  sccs-help(1),  sccs-prs(1),  sccs-
     prt(1),   sccs-rmdel(1),   sccs-sact(1),   sccs-sccsdiff(1),
     sccs-unget(1),   sccs-val(1),   sccsfile(4),  attributes(5),
     environ(5), standards(5)

DIAGNOSTICS
     Use the  SCCS  help  command  for  explanations  (see  sccs-
     help(1)).

BUGS
     There is a remote possibility that a spurious occurrence  of
     the `@(#)' pattern could be found by what.



















SunOS 5.10          Last change: 30 Sep 2002                    2





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 11:25:40 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

CPAN man page (4210 hits)
(Suse Linux 10.1)

ssh man page (4117 hits)
(Suse Linux 10.1)

svn man page (2480 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (1782 hits)
(Solaris 10 11_06)

startproc man page (1711 hits)
(Suse Linux 10.1)

sqlite3 man page (1663 hits)
(openSUSE 10.2)

signal man page (1393 hits)
(Suse Linux 10.1)

pprosetup man page (1241 hits)
(Solaris 10 11_06)

netcat man page (1237 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (1126 hits)
(Solaris 10 11_06)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: PYRENEES ACTIVITY HOLIDAYS :: Digital Electronic Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum