From: Ramon Fischer <Ramon_Fischer@hotmail.de>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] Colorized output when piping to tee
Date: Mon, 18 Dec 2017 19:46:16 +0000 [thread overview]
Message-ID: <AM5P195MB00674BC1177013DD2A2C563CEF0E0@AM5P195MB0067.EURP195.PROD.OUTLOOK.COM> (raw)
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
Hi there,
I am looking for a way to have a colorized output when piping to tee, e.g.:
/usr/bin/emerge --ask --update --deep --newuse --tree --verbose @world | tee --append nom.txt
I already tried installing "dev-tcltk/expect" which should actually contain "unbuffer" which can help me out. But there is no unbuffer command.
Am I missing something or is there any other way to do that?
-Ramon
[-- Attachment #2: Type: text/html, Size: 2538 bytes --]
next reply other threads:[~2017-12-18 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 19:46 Ramon Fischer [this message]
2017-12-18 20:11 ` [gentoo-user] Colorized output when piping to tee David Haller
2017-12-18 20:26 ` Walter Dnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM5P195MB00674BC1177013DD2A2C563CEF0E0@AM5P195MB0067.EURP195.PROD.OUTLOOK.COM \
--to=ramon_fischer@hotmail.de \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox