R P Herrold wrote : > 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 Seems a bit overkill to me :-) Same thing quickly done in shell : for rpm in `rpm -qa --qf '%{name}\n'`; do len="`echo $rpm | wc -m | tr -d ' '`" echo "$len $rpm" done | sort -n And on my system : [...] 26 perl-XML-NamespaceSupport 26 redhat-config-network-tui 26 redhat-config-printer-gui 27 redhat-config-rootpassword 28 redhat-config-securitylevel 28 redhat-switch-printer-gnome $ Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Raw Hide 20030708 running Linux kernel 2.4.20-20.1.2013.nptl Load : 0.75 0.95 0.58