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

John Hupp lubuntu at prpcompany.com
Thu Dec 6 19:53:38 UTC 2012

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' <somefile>
> It could be this
> 	sed -i  -e 's/UPSCABLE usb/UPSCABLE ether/' <somefile>
> or this
> 	sed -i  -e 's:UPSCABLE usb:UPSCABLE ether:' <somefile>
> Regards,
> /Lars

I looked at the sed manpage multiple times, and somehow missed that 
final slash when it came time to construct my script (and missed it 
again and again when troubleshooting).  Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20121206/5f66f350/attachment.html>

More information about the Lubuntu-users mailing list