<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 12/6/2012 1:36 PM, Lars Noodén
      wrote:<br>
    </div>
    <blockquote
cite="mid:CACq_q0ea8nY_A-oXNc_-nOP=_TqMci53qDLrDgte2phUJ31gqA@mail.gmail.com"
      type="cite">
      <pre wrap="">On 12/6/12, John Hupp <a class="moz-txt-link-rfc2396E" href="mailto:lubuntu@prpcompany.com"><lubuntu@prpcompany.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">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
</pre>
      </blockquote>
      <pre wrap="">
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

</pre>
    </blockquote>
    <font size="-1">I don't quite understand.  How would you re-write my
      sample command?</font><br>
  </body>
</html>