Re: Finally - sane NEWS information!



<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)
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]