Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ revision(1) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                              revision(1)



        _________________________________________________________________
        revision                                                  Command
        read and/or set revision number in DG/UX
        _________________________________________________________________


        SYNTAX

        revision [ -u ] [ -s ] [ -rn.n.n ] file ...


        DESCRIPTION

        Revision reads each file, and, after determining file type,
        writes the revision number of the file  (if it can be determined)
        to the standard output.  If the -r option is present, revision
        will change the revision number.  Examples of appropriate files
        are executables, libraries, object files, etc.  Text files have
        no revision number.

        If the -u option is selected, the current microcode major
        revision number is returned.  The microcode revision cannot be
        altered.

        Options are:

        -r      Set revision number.  Revision is set to n.n.n.n, where n
                is an integer between 0 and 255. Will not work on
                microcode files. The old and new revision numbers are
                written to the standard output.

        -s      Suppress revision messages. Used with -r, it causes
                changes to be made silently.

        -u      Report major revision number of microcode.



        _________________________________________________________________
        EXAMPLES

        $ revision file

        file revision 3.22.00.00

        This command shows the current revision of the specified file.

        $ revision -u

        microcode revision 9




        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                              revision(1)



        This command shows the current revision of the microcode.

        $ revision -r 3.22.00.01 file

        file revision 3.22.00.00 ==> new revision 3.22.00.01

        This command changes the revision of the specified file, and
        lists both the old revision number and the new revision number.
        _________________________________________________________________


        SEE ALSO

        cc(1), ld(1), file(1).


        WARNING

        This command does not work with SCCS files; the Source Code
        Control System uses its own commands and revision-number format
        in tracking and manipulating files under its control.  If you
        attempt to use it on an SCCS file, an unknown file type error
        message will be returned.































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



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