[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rpm --install problems



And lo, upon Wed, Dec 05, 2001 at 12:16:53PM -0500, Jeff Johnson spaketh thusly:

> 
> The above is perfectly correct, but let me supply a technical correction.
> 
> Wild cards, more technically, regex's and/or globs through fnmatch, are
> permitted on the command line in rpm-4.0.3, try
> 	rpm -qa XFree*
> 
> I hasten to point out that I don't believe that this functionality
> is going to be useful at all on the rpm CLI. The arguments to rpm -qa
> are package names, not files, so the regex/glob expressions are applied
> to database keys, not files on path, and there is little reason to
> believe that I can "fake" a file system onto a database retrieval key
> through regex/glob sufficiently well to have implemented useful and/or
> intuitive functionality.

Would this work?
	rpm -qa 'XFree*'
That would prevent the shell from expanding the '*' character, and 
since you say wild cards are supported by 4.03, shouldn't that allow rpm's
pattern matching to work properly?

-- 

Aaron Gaudio                                             prothontar @ onebox.com
           GnuPG Public Key: http:/www.cs.rit.edu/~adg1653/pgp_key.asc
                                 ---------------
                           http://www.rit.edu/~adg1653
   "He who depends upon the grace of others for the defense of his liberties
                         has already relinquished them."
                                 ---------------
           Email Usage Policy: http://www.rit.edu/~adg1653/email.shtml

Attachment: pgp00000.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []