Re: Finally - sane NEWS information!
- From: Jeff Waugh <jdub perkypants org>
- To: GNOME Desktop Hackers <desktop-devel-list gnome org>, GNOME Hackers <gnome-hackers gnome org>
- Subject: Re: Finally - sane NEWS information!
- Date: Thu, 19 Feb 2004 18:02:47 +1100
<quote who="Mark McLoughlin">
> Right, so I assume you must have some heuristic to figure the format of
> the NEWS entry so you can pull only the latest one. Just so we have an
> idea of how not to break it terribly, what is it ? :-)
It's absolutely stupid, but surprisingly robust:
diff -u OLDS NEWS | sed '1,/@@/d;/@@/,//d;/^[^+]/d;s/^+//'
I have no idea why I didn't think of it earlier. ;-)
- Jeff
--
GVADEC 2004: Kristiansand, Norway http://2004.guadec.org/
"I am a pitbull on the pantleg of opportunity." - George W. Bush (by
way of Miles Nordin)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]