On 02/22/2012 11:14 AM, Petr Mladek wrote:
    eval `sed -e 's|=\(.\+\)|=\"\1\"|' config_host.mk`

eval $(sed -e s/\'/\'\\\\\'\'/g -e 's/=\(.\+\)/='\''\1'\'/ config_host.mk)

would be safer (just in case any of the values are not invariant under double quote expansion) ;)

Stephan

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to