[pacman-dev] [patch] resolvedeps cleanup + pactest
Xavier
shiningxc at gmail.com
Tue Jul 10 17:08:57 EDT 2007
On Tue, Jul 10, 2007 at 10:56:09PM +0200, Xavier wrote:
> On Tue, Jul 10, 2007 at 03:03:23PM -0400, Dan McGee wrote:
> > Any reason the patch seems to have double line spacing?
> >
>
> Offtopic :
> Actually, I'm curious, what's the easiest way to fix this automatically ?
> (delete all odd number lines)
> Not sure which tool could be used for that, so I wrote 5 lines in C which does it,
> but I want to know the other ways :)
Well, I kept googling a bit, and found the magical sed line :
sed 'n;d' resolvedeps.diff
sorry for the noise ;)
More information about the pacman-dev
mailing list