[libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
Limit the space taken to 30 lines anyway. --- Now with a more custom style. Makefile | 7 --- htdocs/css/bootstrap.css | 13 +++-- sed_commands | 13 - split.awk| 20 4 files changed, 31 insertions(+), 22 d

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
On 10/14/2012 07:30 PM, Måns Rullgård wrote: > Luca Barbato writes: > +sub(/\".*/, "", name); +name = url "#" name; +} + +/\/ { >>> >>> That pattern looks wrong. What are you actually trying to match? >> >> "\<" is wrong, to match any h3 " > I was mainly thinki

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Måns Rullgård
Luca Barbato writes: >>> +sub(/\".*/, "", name); >>> +name = url "#" name; >>> +} >>> + >>> +/\/ { >> >> That pattern looks wrong. What are you actually trying to match? > > "\<" is wrong, to match any h3 ">> +count++; >>> +if (count > 5 || NR > 30) { >>> +print ">> "\"

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
On 10/14/2012 06:25 PM, Måns Rullgård wrote: > Luca Barbato writes: > >> Limit the space taken to 30 lines anyway. >> --- >> >> This should make Diego happy =P >> The pager is a little ugly so I guess I'll change it to something more square >> and green. >> >> Makefile | 7 --- >> awk_s

Re: [libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Måns Rullgård
Luca Barbato writes: > Limit the space taken to 30 lines anyway. > --- > > This should make Diego happy =P > The pager is a little ugly so I guess I'll change it to something more square > and green. > > Makefile | 7 --- > awk_split| 20 > sed_commands | 13 ---

[libav-devel] [PATCH] index: report just the latest 10 news items

2012-10-14 Thread Luca Barbato
Limit the space taken to 30 lines anyway. --- This should make Diego happy =P The pager is a little ugly so I guess I'll change it to something more square and green. Makefile | 7 --- awk_split| 20 sed_commands | 13 - 3 files changed, 24 insertion