today i have make a little script in bash that output some colored json on console.
My requirements was to extract the colored output of my script in HTML format.
So, with a little search on Google I have found Ansi HTML Adapter (https://github.com/theZiz/aha)
And with my surprise it's available on official apt repository.
# apt-get install ahaIf you want to test run command:
# ls --color=always | aha --black > ls-output.htmVery useful. Salvo.
Nessun commento:
Posta un commento