Amiga Unix — 68040 · 68060

Manual pages › General commands (1)

pkgparam(1)

displays package parameter values

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

apkg has its own copy, /usr/apkg/bin/pkgparam: see pkgparam-apkgeng(1).

NAME

pkgparam - displays package parameter values

SYNOPSIS

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  parameters  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 directory pathname or the identifiers for tape, floppy disk or removable disk (for example, /var/tmp, /dev/diskette, and /dev/dsk/c1d0s0). 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 param-
        eter   values   should  be  displayed.   The  format
        pkginst.* can be used to indicate all instances of a
        package.

param Defines a specific parameter whose value should be displayed.

ERRORS

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(1), pkgparam(3x), pkgproto(1), pgktrans(1).