On Mon, 2005-01-31 at 14:55 -0800, Shahms King wrote:
On Mon, 2005-01-31 at 17:34 -0500, Nick Bargnesi wrote:
> It'd be interesting to see how much space something like this would save first.
$ rpm -qa --changelog | wc -c
That's just a little over 11 megabytes for all change logs on a FC3
system. I've also got non-Core packages installed which would increase
that size slightly. That's also (obviously) including changelog entries
which would not be stripped. I'm just guessing here, but I suspect that
the total savings would be significantly smaller. I don't think the
effort or loss of history would really be worth it.
For sake of completeness:
$ rpm -qa --changelog | LANG=C wc
246340 1183597 7835570
$ rpm -qa --changelog | sed -n '/^* .\+ 200/,/^* .\+ 200[0-3]/p' | LANG=C wc
63836 321574 2182535
The thing that fascinates me though:
$ rpm -qa --changelog | grep -ic "To be, or not to be"