Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ what(1) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

get(1)

help(1)

ident(1)



what(1)                        DG/UX 5.4R3.00                        what(1)


NAME
       what - identify SCCS files

SYNOPSIS
       what [-s] files

DESCRIPTION
       What searches the given files for all occurrences of the pattern that
       get(1) 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 identification information for f.c, f.o, and a.out.

       What is for use with the SCCS command get(1), which automatically
       inserts identifying information; but you can also use it where the
       information is inserted manually.  Only one option exists:


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

   International Features
       files can be specified using characters from supplementary code sets.

       Characters from supplementary code sets can be used for
       identification information following the keyword %Z%.

DIAGNOSTICS
       Exit status is 0 if any matches are found, otherwise it's 1.  Use
       help(1) for explanations.

SEE ALSO
       get(1), help(1), ident(1).

BUGS
       An unintended occurrence of the pattern @(#) could be found by
       chance, but this usually causes no harm.













Licensed material--property of copyright holder(s)                         1


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