假设我有一个文件:Index.html
Index.html
<p class="p">This
entry will determine the number of transmit threads, each channel
represents one thread, which can handle multiple multicast ports.
All channels are enabled by default. To temporarily disable a particular
channel, use the folowing configuration lines:</p>
如何将换行符替换为内的空格
tag only
For example, changing Index.html to:
<p class="p">This entry will determine the number of transmit threads, each channel represents one thread, which can handle multiple multicast ports. All channels are enabled by default. To temporarily disable a particular channel, use the folowing configuration lines:</p>`
试过了,
sed -e "/<p>/s/\n/ /g" Index.html
不起作用