[Yum] Re: yum] feature request: which channel are we installing from?

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

 



On 8 Jul 2003, seth vidal wrote:

> so maybe 40 chars for the Name, 6 chars for the Arch, 15 chars for the
> version-rel so the last 18 or so (79char line) for repo?
> 
> Sound reasonable to everyone? I could just push everything over from the

ummm -- whitespace rather than fixed columns works just fine 
as a separator.  it may be less vissually pleasing, though.

real stats on file name length

24 bonobo-activation-devel
24 redhat-config-kickstart
26 desktop-backgrounds-basic
26 redhat-config-printer-gui
31 XFree86-ISO8859-15-75dpi-fonts
32 XFree86-ISO8859-15-100dpi-fonts
bash-2.05b$


from this (the script is suitable for cut and paste, if 
others want to report):

bash-2.05b$ rpm -qa --qf '%{name}\n'  > /tmp/rpm-qa-name.txt
bash-2.05b$ ./farRPMname.php | sort -n


bash-2.05b$ cat farRPMname.php
#!/usr/bin/php -c/etc
<?php
//      yum RPM package name length stats tool
//      Copyright (c) 2003 Owl River Company
//      info@xxxxxxxxxxxx
//
//	remember to    chmod 755 farRPMname.php
//
//      driver table
$driver = "/tmp/rpm-qa-name.txt";
if (file_exists($driver)) {
        $fp = fopen($driver,"r");
        while(!feof($fp)) {
                $content = fgets($fp,1024);
                $slen = strlen($content);
                print "$slen $content\n";
                }
        fclose($fp);
        }
?>
bash-2.05b$



[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