[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Use pipe and sed in configure.ac
|
From: |
Lyre |
|
Subject: |
Re: Use pipe and sed in configure.ac |
|
Date: |
Thu, 10 Feb 2011 23:27:32 +0800 |
Thanks to peter and Eric.
Yes, the problem is the square backect. It should be \([[^ ]]*\).
After I put it in set -vx/set +vx block, I notice the command exactly
executed was:
php-config --configure-options | sed -n 's|.*--with-config-file-scan-dir=\(^
*\).*|\1|p'
both backet were missing.