Em 24-01-2016 17:02, [email protected] escreveu:
> Author: pierre
> Date: Sun Jan 24 12:02:10 2016
> New Revision: 16838
> +<screen><userinput>sed -e 's@using python[^;]*@&:
> /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} @' \
> -i bootstrap.sh</userinput></screen>
>
> <para>
Pierre, this does not work, gives an error:
LANG=C sed -e 's at using python[^;]*@&:
/usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} @' \
> -i bootstrap.sh
sed: -e expression #1, char 13: unknown option to `s'
Is the following what you really wanted to write?
sed -e '/using python/ s@[^;]*@&:
/usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}m} @' \
-i bootstrap.sh
--
[]s,
Fernando, aka SÃsifo
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page