Help for this page

Select Code to Download


  1. or download this
    echo -e 'g/\<remotely\>/.,/\<p_args\>/j\nwq' | ed -sl filename
    
  2. or download this
    $ cat a
    "Yes, and to be grown up,
    ...
    "That indeed he is."
    
    $
    
  3. or download this
    for t in 's/$/ /' j; do echo -e 'g/\<remotely\>/.,/\<p_args\>/'"$t"'\n
    +wq' | ed -sl filename
    
  4. or download this
    g='g/\<remotely\>/.,/\<p_args\>/'; echo -e "${g}s/\$/ /\n${g}j\nwq" | 
    +ed -sl filename
    
  5. or download this
    ex -c $'g/\<remotely\>/.,/\<p_args\>/j\nwq' filename