OK : I just recompiled, under Ubuntu 8.04, the same php version that the distribution provides, used the same php.ini and it works... I didn't applied the same patchs or even setted the same compilation options but for me it's "clear" that it is a distribution problem. I still do not know what exactly differs and makes the problem appear. Maybe some PHP expert could orient me to the right direction (I'm not a Guru of compilation, especiallly for PHP ...) ? Thanks 2010/1/27 Alexandre Simon <lexsimon@xxxxxxxxx> > Hello, > > I'm pretty "sure" (in realty I do not understand a lot about the problem... > :( ) this is a distribution or a version problem but maybe some PHP/bash > expert here could have some idea and tell me what I could try to solve the > problem described here : > > http://ubuntuforums.org/showthread.php?p=8734334 > > Shortly : PHP cli seems to output something like newlines that bash can not > intercept. > > My initial goal is to complete a PHP script, using the PHP script itselfs > as function for bash completion. Mechanism that works perfectly on some > other platforms (with different PHP AND bash version ...) than Ubuntu 8.04 > and 9.10 (PHP 5.2.4 and PHP 5.2.10 respectively). The interest : only one > thing to code : the php script. Moreover : the PHP scripts knows "things" > (DB connection, .. etc) that the bash script would have some difficulty to > get. > > Thank you a lot for any help. > > -- > Alex > > > -- SIMON Alexandre