lkml.org 
[lkml]   [2011]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] Documentation/00-INDEX.sh: add script to help keeping the index up-to-date
On Sat, 23 Apr 2011 19:15:22 +0200 Cyril Brulebois wrote:

> Randy Dunlap <rdunlap@xenotime.net> (23/04/2011):
> > but what am I doing wrong?
> >
> > cd Documentation
> > sh ./00-INDEX.sh
> >
> > The "undocumented" list looks correct (well, it could omit .orig files),
> > but the "Documented but missing" list contains words, e.g.:
>
> Looks like sed's not filtering out lines before '00-INDEX'; my reading
> of POSIX sed specification[1] would seem to confirm the filtering
> should work, see:
> [2addr]d
> Delete the pattern space and start the next cycle.
>
> 1. http://pubs.opengroup.org/onlinepubs/007908799/xcu/sed.html
>
> Maybe some regex fun then; what if you remove the anchors (^ and $)?
>
> And anyway, using sed --posix to disable all GNU extensions gives the
> expected output here (with GNU sed version 4.2.1).
>
> What's your sed/system, so that I can check what's going on there, and
> how to deal with it?

Fedora 11 and
> sed --version
GNU sed version 4.2.1


> Using 'grep -A $ABIGNUMBER' could be a workaround I guess, but a ugly
> one…


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2011-04-23 20:35    [W:0.193 / U:3.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site