[Yum] Scripting Yum

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

 



Simon Perreault wrote :

> Yes, I too am against screen-scraping. However, UNIX-like interoperability is 
> not screen scraping. Is this screen-scraping?
> 
> rpm -qa | grep ^perl- | xargs rpm -ql | xargs grep -l ^#!/usr/bin/perl | xargs 
> perl -c

Well, the first part is overly complicated for nothing. Like doing "cat
file | grep foo" instead of "grep foo file" ;-) 

What you wanted was :

rpm -qla 'perl-*'

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 4 (Stentz) - Linux kernel 2.6.12-1.1398_FC4
Load : 1.40 1.21 1.04

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux