Debian bug report logs - #1411
perlconfig misses an opportunity to use xargs

Package: perl; Reported by: Ian Jackson <iwj10@cus.cam.ac.uk>; 40 days old.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Wed Sep 20 16:46:03 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0svYq3-000G6xA; Wed, 20 Sep 95 16:46 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA03211
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Wed, 20 Sep 1995 16:45:45 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0svYpj-000C0VA; Thu, 21 Sep 95 00:45 BST
Received: by chiark
	id <m0svYFu-0002ZjA@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Thu, 21 Sep 95 00:08 BST
Message-Id: <m0svYFu-0002ZjA@chiark.al.cl.cam.ac.uk>
Date: Thu, 21 Sep 95 00:08 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: perlconfig misses an opportunity to use xargs
Precedence: air-mail

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 ?

Ian.

Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1411; Package perl. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov