[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion 1.6 requires GNU grep 2.5

From: Mikel Ward <mikel_at_mikelward.com>
Date: Sat, 25 Jul 2009 10:51:13 +1000

>> ./build/ac-macros/kwallet.m4:43: for d in [`
>> $PKG_CONFIG --cflags QtCore QtDBus QtGui | $GREP -o -- -
>> D[^[:space:]]*`]; do
>
> Ah, I only looked for EGREP -o so I missed the GREP -o.
>
>> Do you want to supply a patch?
>
> Not right this instant. :)

I missed the start of this, but:

If you're doing something like

    for d in `echo -g -I/usr/include -DFOO=true -DBAR=false -v | grep
-o -- -D[^[:space:]]*`; do
        ...
    done

Then you could turn that into

    for d in `echo -g -I/usr/include -DFOO=true -DBAR=false -v`; do
        case $d in -D*)
            ...
            ;;
        esac
    done

But is it guaranteed there will be no space between -D and its argument?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375441

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-25 03:00:41 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.