Return to Snippet

Revision: 65211
at November 8, 2013 21:40 by szpunk


Initial Code
v='oooo';sed -n '/^\[aaaa\]/{p;:a;n;H;/^\[bbbb]/!ba;x;s/.*/'"$v"'/;G;};p'

Initial URL

                                

Initial Description
line1=[aaaa]
content
line2=[bbbb]

let "0000" repalce the content.

Initial Title
替换两行之间的内容 replace content between two line

Initial Tags

                                

Initial Language
Bash