Re: Sed translation



On 2011-10-14, Barry Margolin <barmar@xxxxxxxxxxxx> wrote:
In article <slrnj9et2f.281b.ckipping@xxxxxxxxxxxxxxxx>,
John Doe <ckipping@xxxxxxxx> wrote:

I have an old script that uses the command

sed 's/http/\n&/g'

to start a newline at every instance of http. How would I translate this
to run on FreeBSD sed.

sed 's/http/\
&/g'

Worked like a charm. Many thanks.
.



Relevant Pages

  • Re: Sed translation
    ... John Doe wrote: ... to start a newline at every instance of http. ... How would I translate this ...
    (comp.unix.shell)
  • Re: Sed translation
    ... On 10/13/2011 9:01 PM, Icarus Sparry wrote: ... to start a newline at every instance of http. ... How would I translate this ...
    (comp.unix.shell)
  • Sed translation
    ... I have an old script that uses the command ... to start a newline at every instance of http. ... How would I translate this ...
    (comp.unix.shell)
  • Re: Creating a PS file that has Text Strings?
    ... (JOHN DOE) ... (1204 Devil Dog Road) ... the prolog is pretty small. ...
    (comp.lang.postscript)
  • Re: Bugs in http
    ...  In the case of Tcl's http package, ... the Tcl internal standard of a. ... the file system it should translate the to whatever that channel has ... Internet media types are registered with a canonical form. ...
    (comp.lang.tcl)