On Mon, Jul 11, 2011, Christian Weisgerber wrote: > Landry Breuil <lan...@rhaalovely.net> wrote: > >> the end of the script does a nice bit of grep : >> >> grep -w -h -F "`grep \"\<${publication}\>\" \"${srcdir}/configitems\" | >> grep \"\<${factor}\>\" | grep -v '^$' | cut -f 1`" include/pqxx/config.h >> >"$CONFIGFILE" > > \< \> is a GNU-ism for beginning/end of word. Our grep does not > support this.
yes, that's true, too, so I don't think the above line is doing what the author hopes it's doing. On OpenBSD, everything inside the quotes evals to just "", even though I think they intend for there to be more stuff in there. But the just introduced and fixed bug was that grep would fail to match empty expressions. Fix for that has been committed.