Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pkgmk(ADM)

pkgproto(ADM)

pkgtrans(ADM)


 pkgparam(ADM)                   19 June 1992                   pkgparam(ADM)


 Name

    pkgparam - display package parameter values

 Syntax

    pkgparam [ -v ] [ -d device ] pkginst [ param [ ... ] ]

    pkgparam -f file [ -v ] [ param [ ... ] ]

 Description

    pkgparam displays the value associated with the parameter or parameters
    requested on the command line.  The values are located in either the
    pkginfo file for pkginst or from the specific file named with the -f
    option.

    One parameter value is shown per line.  Only the value of a parameter is
    given unless the -v option is used.  With this option, the output of the
    command is in this format:

       parameter1='value1'
       parameter2='value2'
       parameter3='value3'

    If no parameters are specified on the command line, values for all param-
    eters associated with the package are shown.

    Options and arguments for this command are:

    -v      Specifies verbose mode.  Displays name of parameter and its
            value.

    -d      Specifies the device on which a pkginst is stored.  It can be a
            full pathname to a directory or the identifiers for tape, floppy
            disk or removable disk (for example, /tmp, /dev/fd096ds15, or
            /dev/dsk/f03h).  The default device is the installation spool
            directory.  If no instance name is given, parameter information
            for all packages residing in device is shown.

    -f      Requests that the command read file for parameter values.

    pkginst Defines a specific package instance for which parameter values
            should be displayed.  The format pkginst.* can be used to indi-
            cate all instances of a package.  When using this format, enclose
            the command line in single quotes to prevent the shell from
            interpreting the * character.

    param   Defines a specific parameter whose value should be displayed.

 Diagnostics

    If parameter information is not available for the indicated package, the
    command exits with a non-zero status.

 Notes

    The -f synopsis allows you to specify the file from which parameter
    values should be extracted.  This file should be in the same format as a
    pkginfo file.  As an example, such a file might be created during package
    development and used while testing software during this stage.

 See also

    pkgmk(ADM), pkgproto(ADM), pkgtrans(ADM)


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