Malutkie byczki ...

Tomasz "Witek" Wittner wittt_ at poczta.onet.pl
Fri Dec 6 15:20:07 CET 2002


Dnia piątek 06 grudzień 2002 10:52, napisałeś:
> On Thu, Dec 05, 2002 at 10:06:45AM +0100, Paweł Gołaszewski wrote:
> > On Wed, 4 Dec 2002, Witek wrote:
> > > 1. -qf (to źle) zamiast --qf w rpm.8 :
> > > ===================================================================
> > > RCS file: /cvsroot/pl_PL/man8/rpm.8,v
> > > retrieving revision 1.6
> > > diff -u -u -r1.6 rpm.8
> > > --- pl_PL/man8/rpm.8    14 Dec 2001 00:22:56 -0000      1.6
> > > +++ pl_PL/man8/rpm.8    4 Dec 2002 20:22:33 -0000
> > > @@ -196,7 +196,7 @@
> > >         \fBrpm \-q [opcje\-zapytań]\fP
> > >  .PP
> > >  Możesz podać format, w jakim powinna zostać zapisywana informacja
> > > pakietowa. -Aby tego dokonać, użyj opcji \fB[\-\-queryformat|\-qf]\fP,
> > > z dołączonym +Aby tego dokonać, użyj opcji
> > > \fB[\-\-queryformat|\-\-qf]\fP, z dołączonym łańcuchem formatującym.
> >
> > To jest jak najbardziej dobrze:
> > $ rpm -qf /bin/bash
> > bash-2.05b-8
>
> -qf == query file
> --qf == query format
>
> Pozdrawiam

Odkrywcze! Masz rację - ale popatrz na kontekst, bo przed poprawką było:
[--queryformat|-qf]
a winno być:
[--queryformat|--qf]

Czytaj z kontekstem. Ja przez tego polskiego mana straciłem trochę czasu.

QUERY OPTIONS
       The general form of an rpm query command is

       rpm {-q|--query} [select-options] [query-options]

       You may specify the format that package information should  be  printed
       in. To do this, you use the
        {--qf|--queryformat}  QUERYFMT option, followed by the QUERYFMT format
       string.  Query formats are modifed versions of the  standard  printf(3)
       formatting.  The format is made up of static strings (which may include
       standard C character escapes for  newlines,  tabs,  and  other  special
       characters)  and  printf(3)  type formatters.  As rpm already knows the
       type to print, the type specifier must be omitted however, and replaced
       by the name of the header tag to be printed, enclosed by {} characters.
       Tag names are case insesitive, and the RPMTAG_ portion of the tag  name
       may be omitted as well.

       Alternate  output  formats  may  be requested by following the tag with
       :typetag.  Currently, the following types are supported:  octal,  date,
       shescape,  perms, fflags, and depflags.  For example, to print only the
       names of the packages queried, you could  use  %{NAME}  as  the  format
       string.  To print the packages name and distribution information in two
       columns, you could use %-30{NAME}%{DISTRIBUTION}.   rpm  will  print  a
       list  of  all  of  the  tags it knows about when it is invoked with the
       --querytags argument.

       There are two subsets of options for querying: package  selection,  and
       information selection.

   PACKAGE SELECTION OPTIONS:
       PACKAGE_NAME
              Query installed package named PACKAGE_NAME.

       -a, --all
              Query all installed packages.

       -f, --file FILE
              Query package owning FILE.

Dalej:


[inter at work pią gru 06 05:26 ~/personal/prog/pld term:4 jobs:0]$
patch SPECS/parted.spec parted.spec.diff;patch SPECS/7plus.spec 
7plus.spec.diff;patch SPECS/AfterStep10.spec AfterStep10.spec.diff;patch 
SPECS/BasiliskII.spec BasiliskII.spec.diff;patch SPECS/BitchX.spec 
BitchX.spec.diff;patch SPECS/CriticalMass.spec CriticalMass.spec.diff

-- 
Pozdrawiam
Tomasz "Witek" Wittner


--------------r-e-k-l-a-m-a-----------------

Masz dość płacenia prowizji bankowi ?
mBank - załóż konto
http://epieniadze.onet.pl/mbank 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7plus.spec.diff
Type: text/x-diff
Size: 698 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/2f28ba95/7plus.spec.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AfterStep10.spec.diff
Type: text/x-diff
Size: 531 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/2f28ba95/AfterStep10.spec.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BasiliskII.spec.diff
Type: text/x-diff
Size: 574 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/2f28ba95/BasiliskII.spec.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CriticalMass.spec.diff
Type: text/x-diff
Size: 499 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/2f28ba95/CriticalMass.spec.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BitchX.spec.diff
Type: text/x-diff
Size: 453 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/2f28ba95/BitchX.spec.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parted.spec.diff
Type: text/x-diff
Size: 537 bytes
Desc: not available
Url : /mailman/pipermail/feedback/attachments/20040626/2f28ba95/parted.spec.bin


More information about the feedback mailing list