trivia: size of packages.gz shrinks when sorted

Greg Minshall minshall at acm.org
Wed Oct 2 15:47:21 UTC 2019


poking around, i ran into this, in case it is of interest
----
% zcat packages.gz | grep -v '#' | gzip | wc
   1365    8020  351564
% zcat packages.gz | grep -v '#' | sort | gzip | wc
   1022    6173  284473
----
(only the last column -- bytes -- of the wc(1) output is meaningful.)

cheers.


More information about the aur-dev mailing list