On 07/09/13 19:02, Chris Bannister wrote:
> On Thu, Sep 05, 2013 at 10:06:46PM +0100, Brian wrote:
>> On Thu 05 Sep 2013 at 22:16:39 +0200, sp113438 wrote:
>>
>>> How do I find out the number of packages currently in Sid?
>>> Google did not help me.
>>
>> An example:
>>
>>   wget ftp://ftp.debian.org/debian/dists/sid/main/binary-i386/Packages.gz
>>
>>   gunzip Packages.gz
>>
>>   grep ^Package: Packages | wc -l
> 
> Hey! What's wrong with zgrep? :)
> 
wget -O -
ftp://ftp.debian.org/debian/dists/sid/main/binary-i386/Packages.gz
|zgrep -c ^Package:

:-)

Richard



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52314101.7020...@walnut.gen.nz

Reply via email to