[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110423113312.864422c4.rdunlap@xenotime.net>
Date: Sat, 23 Apr 2011 11:33:12 -0700
From: Randy Dunlap <rdunlap@...otime.net>
To: Cyril Brulebois <kibi@...ian.org>
Cc: linux-kernel@...r.kernel.org, trivial@...nel.org
Subject: Re: [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@...otime.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists