On Tue, 28 Feb 2012 00:12:33 +0100 Jakub Jelinek <ja...@redhat.com> wrote:
> and $(EGREP) -v '#(#| |$$)' just throws away the whole > };# Appended to version file. > line. I wonder if > sed -e 's/#[# $].*$//' > wouldn't be better, or alternative add ^ before the first # > in the egrep regex. Of course we can add a newline to gnu.ver, but > the next time somebody forgots to add a newline at the end of the file > we'll have the same problem again. > > Benjamin, what do you prefer? I would prefer not having gnu.ver have to end in a newline. Slight preference for ^ before first # but I don't really care. -benjamin