[Lubuntu] sed error: -e expression ... unterminated `s' command
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>
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...
More information about the Lubuntu-users