有没有办法将bash输出转换为HTML?例如,如果我在bash一些彩色输出(类似HTOP),我怎样才能将其转换为HTML标签......(是这样的:<p style="color: red">some text</p>)
<p style="color: red">some text</p>
html linux shell
html ×1
linux ×1
shell ×1