15 Nov
2007
15 Nov
'07
5:45 a.m.
On Nov 14, 2007 7:57 PM, K. Piche <kpiche@rogers.com> wrote:
On Wed, 2007-11-14 at 18:15 -0600, Aaron Griffin wrote:
On Nov 14, 2007 6:08 PM, Dan McGee <dpmcgee@gmail.com> wrote:
We (anyone want to volunteer) also need to make a tool to remove requiredby entries.
I was going to python it up... it's an easy file to parse and rewrite, probably like 20 lines
sed rules! :)
grep -Rl REQUIREDBY /var/lib/pacman/local | xargs sed -i '/^%REQUIREDBY %/,/^$/ d'
Course it may not handle corner cases...
Oh, nice. I can never recall how to make sed traverse multiple lines like that. Any opinions on this guys? If we can just toss this in a post_upgrade, then we're set