3 ms·
Piping stdout and stderr to Preview (2021)
- ttyprintk 5y ago`cupsfilter` being deprecated brings some risk. Speaking about Linux (the article is about Mac), you could: - Reformat man pages as html, and view them in `links2 -g`. There are multiple converters for the man format, some rely on Perl, others compiled with Haskell, etc. - To capture a stream, transform it, and view it in a GUI, some utilities will only read from a file. So, maybe use a named pipe. - If you just want excellent colorized output, try MANPAGER="sh -c 'col -bx | bat -l man -p'"