On 12/6/12, John Hupp <lubu...@prpcompany.com> 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' <somefile>
>
> It produces the error:
>
>      sed: -e expression #1, char 29: unterminated `s' command

Are you sure you have the closing slash?  It should be in the format s///
Or you can use other characters besides slash (/).

Regards
/Lars

-- 
Lubuntu-users mailing list
Lubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/lubuntu-users

Reply via email to