Re: [Lubuntu] sed error: -e expression ... unterminated `s' command

2012-12-06 Thread John Hupp
On 12/6/2012 2:01 PM, Lars Noodén wrote: On 12/06/2012 08:48 PM, John Hupp wrote: sed -i -e 's/UPSCABLE usb/UPSCABLE ether' It could be this sed -i -e 's/UPSCABLE usb/UPSCABLE ether/' or this sed -i -e 's:UPSCABLE usb:UPSCABLE ether:' Regards, /Lars I looked at the

Re: [Lubuntu] sed error: -e expression ... unterminated `s' command

2012-12-06 Thread Lars Noodén
On 12/06/2012 08:48 PM, John Hupp wrote: > sed -i -e 's/UPSCABLE usb/UPSCABLE ether' It could be this sed -i -e 's/UPSCABLE usb/UPSCABLE ether/' or this sed -i -e 's:UPSCABLE usb:UPSCABLE ether:' Regards, /Lars -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.co

Re: [Lubuntu] sed error: -e expression ... unterminated `s' command

2012-12-06 Thread John Hupp
On 12/6/2012 1:36 PM, Lars Noodén wrote: On 12/6/12, John Hupp wrote: If I run a script with this command (should search somefile and substitute "UPSCABLE ether" for "UPSCABLE usb" wherever it is found): sed -i -e 's/UPSCABLE usb/UPSCABLE ether' It produces the error: sed: -e

Re: [Lubuntu] sed error: -e expression ... unterminated `s' command

2012-12-06 Thread Lars Noodén
On 12/6/12, John Hupp wrote: > If I run a script with this command (should search somefile and > substitute "UPSCABLE ether" for "UPSCABLE usb" wherever it is found): > > sed -i -e 's/UPSCABLE usb/UPSCABLE ether' > > It produces the error: > > sed: -e expression #1, char 29: unterminat

[Lubuntu] sed error: -e expression ... unterminated `s' command

2012-12-06 Thread John Hupp
If I run a script with this command (should search somefile and substitute "UPSCABLE ether" for "UPSCABLE usb" wherever it is found): sed -i -e 's/UPSCABLE usb/UPSCABLE ether' It produces the error: sed: -e expression #1, char 29: unterminated `s' command A web search seems to indic