[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pathnames with two (or more) slashes in Makefile.c
From: |
Sascha Wilde |
Subject: |
Re: Pathnames with two (or more) slashes in Makefile.c |
Date: |
Tue, 30 Jan 2007 10:47:26 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Jan Djärv <address@hidden> wrote:
> Sascha Wilde skrev:
[...]
>> --- a/configure.in
>> +++ b/configure.in
>> @@ -3256,6 +3256,7 @@
>> < Makefile.c > junk1.c
>> sed -e '1,/start of cpp stuff/d'\
>> -e 's,/\*\*/#\(.*\)$,/* \1 */,' \
>> + -e 's,\(#.*\)//\+,\1/,g' \
>> < Makefile.c > junk.c
>> $CPP $undefs -I. -I$srcdir/src $CPPFLAGS junk.c | \
>> sed -e 's/^ / /' -e '/^#/d' -e '/^[
>
>
> Why is there a \+?
because we not only want to match // but also ///, //// and so
forth...
cheers
sascha
--
Sascha Wilde
"If you were young again, would you start writing TeX again or would
you use Microsoft Word, or another word processor?" - "I hope to die
before I *have* to use Microsoft Word." -- Prof. Donald E. Knuth
- Pathnames with two (or more) slashes in Makefile.c (was: Latest configure.in change breaks building), (continued)
- Pathnames with two (or more) slashes in Makefile.c (was: Latest configure.in change breaks building), Sascha Wilde, 2007/01/28
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/29
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/29
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/31
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/31
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/31
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c,
Sascha Wilde <=
- Re: Pathnames with two (or more) slashes in Makefile.c, Jan Djärv, 2007/01/30
- Re: Pathnames with two (or more) slashes in Makefile.c, Sascha Wilde, 2007/01/30