Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ what(C) — OpenDesktop 1.0.0y

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

admin(CP)

get(CP)


     WHAT(C)                                    UNIX System V



     Name
          what - identifies files


     Syntax
          what files


     Description
          what searches the given files for  all  occurrences  of  the
          pattern  @(#)  and  prints  out what follows until the first
          tilde (~), greater-than sign (>), new-line, backslash (\) or
          null  character.   The SCCS command get(CP) substitutes this
          string as part of the @(#) string.

          For example, if the shell procedure in file print contains

          #  @(#)this is the print program
          #  @(#)syntax: print [files]
          pr $* | lpr

          then the command

               what print

          displays the name of the  file  print  and  the  identifying
          strings in that file:

          print:
               this is the print program
               syntax: print [files]

          what is intended to be used with the get(CP) command,  which
          automatically  inserts  identifying  information, but it can
          also be used where the information is inserted manually.


     See Also
          admin(CP), get(CP)


     Standards Conformance
          what is conformant with:

          AT&T SVID Issue 2, Select Code 307-127;
          and The X/Open Portability Guide II of January 1987.


     (printed 8/24/89)                                  WHAT(C)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026