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

Bug#1411: perlconfig misses an opportunity to use xargs

Package: perl
Version: 5.001-3

 find /usr/lib/perl5/i486-linux -type f -exec chmod 644 {} \;
 find /usr/lib/perl5/i486-linux -type d -exec chmod 755 {} \;

This would be a lot faster as

 find /usr/lib/perl5/i486-linux -type f -print0 | xargs -r0 chmod 644
 find /usr/lib/perl5/i486-linux -type d -print0 | xargs -r0 chmod 755

perlconfig is slow enough as it is.  Also, shouldn't it be in
/usr/sbin/perlconfig, rather than /usr/bin ?


Reply to: