[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110423171522.GF32680@debian.org>
Date: Sat, 23 Apr 2011 19:15:22 +0200
From: Cyril Brulebois <kibi@...ian.org>
To: Randy Dunlap <rdunlap@...otime.net>
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
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?
Using 'grep -A $ABIGNUMBER' could be a workaround I guess, but a ugly
oneā¦
KiBi.
Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)
Powered by blists - more mailing lists