linux shell output to html

后端 未结 5 1840
时光说笑
时光说笑 2020-12-08 05:45

is there any way to convert bash output to html ? for example if I had some colorized output in bash ( something like htop ), how can I convert it to html tags ... ( somethi

5条回答
  •  我在风中等你
    2020-12-08 06:09

    There's ansifilter plus some tools like highlight will produce colorized html from plain text such as source files.

    Both available here.

提交回复
热议问题