[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use pipe and sed in

From: Peter O'Gorman
Subject: Re: Use pipe and sed in
Date: Thu, 10 Feb 2011 08:49:30 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7

On 02/09/2011 09:39 PM, Lyre wrote:
PHPINC=`php-config --includes`
PHPCDIR=`php-config --configure-options | sed -n
's|.*--with-config-file-scan-dir=\([^ ]*\).*|\1|p'`

Probably the [] in your sed expression need extra quoting.

\([[^ ]]*\)

You can verify by looking at the generated configure script.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]