pkgfmt(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

pkgfmt(1)

pkgfmt(1)                        User Commands                       pkgfmt(1)



NAME
       pkgfmt - format a package manifest

SYNOPSIS
       /usr/bin/pkgfmt [-c|-d|-u] [package-manifest-file]

DESCRIPTION
       pkgfmt  without  the  -c  or -d options formats a package manifest in a
       consistent manner, including wrapping lines at 80  characters,  sorting
       actions  by  type, and sorting attributes. Lines that do not parse into
       actions (such as macros, comments, or  transforms)  do  not  appear  in
       sorted order.


       If  no  arguments  are  given,  pkgfmt  reads stdin until EOF, and then
       writes the formatted manifest to stdout. Any manifests specified on the
       command line are formatted in place.


       pkgfmt with the -c option checks whether the manifests are formatted in
       pkgfmt style. The -d option displays the differences if the file is not
       properly formatted.

OPTIONS
       The following options are supported:

       -?        Display a usage message.
       --help


       -c        Check whether the manifest is formatted in the pkgfmt style.


       -d        Display  manifest  differences  from the formatted version in
                 unified form.


       -u        Do not wrap lines at 80 characters. This option is useful for
                 applying  traditional  text processing tools to package mani‐
                 fests.


EXIT STATUS
       The following exit values are returned:

       0     Command succeeded.


       1     The -c or -d options were specified, and one  or  more  manifests
             are not in pkgfmt normal form, or an error occurred.


       2     Invalid command line options were specified.


       99    An unanticipated exception occurred.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Availabilitypackage/pkg _ Interface  StabilityUncommit‐
       ted


SEE ALSO
       pkg(7)


       https://github.com/oracle/solaris-ips



Oracle Solaris 11.4               21 May 2013                        pkgfmt(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3