From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D83BF139083 for ; Mon, 18 Dec 2017 19:46:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9342CE10BA; Mon, 18 Dec 2017 19:46:18 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-oln040092066012.outbound.protection.outlook.com [40.92.66.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EBF60E10B4 for ; Mon, 18 Dec 2017 19:46:17 +0000 (UTC) Received: from VE1EUR01FT061.eop-EUR01.prod.protection.outlook.com (10.152.2.53) by VE1EUR01HT194.eop-EUR01.prod.protection.outlook.com (10.152.2.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.302.6; Mon, 18 Dec 2017 19:46:16 +0000 Received: from AM5P195MB0067.EURP195.PROD.OUTLOOK.COM (10.152.2.57) by VE1EUR01FT061.mail.protection.outlook.com (10.152.3.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.302.6 via Frontend Transport; Mon, 18 Dec 2017 19:46:16 +0000 Received: from AM5P195MB0067.EURP195.PROD.OUTLOOK.COM ([fe80::9a0:458b:17aa:ec55]) by AM5P195MB0067.EURP195.PROD.OUTLOOK.COM ([fe80::9a0:458b:17aa:ec55%18]) with mapi id 15.20.0323.018; Mon, 18 Dec 2017 19:46:16 +0000 From: Ramon Fischer To: Gentoo User Subject: [gentoo-user] Colorized output when piping to tee Thread-Topic: Colorized output when piping to tee Thread-Index: AQHTeDe5saboIhKXS06JfBkfsf7oLg== Date: Mon, 18 Dec 2017 19:46:16 +0000 Message-ID: Accept-Language: en-US, en-GB, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:2DA3F919BFA9064E4F32552FDE29DA62DCB4F2BC42409F4739051EB3143C848E;UpperCasedChecksum:8A45F1E9834621533F97207159B7C8ADB6E12CC3B0533EE9A70EF085AF695341;SizeAsReceived:6952;Count:43 x-tmn: [RhvKEjsgQJTw9o0iH81LGn1QG0jxtvOaRQHYAT1mUZ88S32u3Ad7Z+Cr1UsgtP7V] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VE1EUR01HT194;6:b1OYkoz/eEllUtzSV2l+wXyJyzTQrmNie1+66z5k6EiQ0vgAw1NHU+xy2ZsKk6chgX7ihTnwGbur/HUsFxAXBTNhgzX3WLbCaJAtOV4hParP3dkw55NCO0sLEznp2ZyYehDx6HW9T+MPuuemPMf1/7UJSZDd6ayzWYgojIhYWIH9wPSwO2jLNEKwetTJSrHOm872h602RMyMYz4YDXPUgEtsoHevCkcLNh14FbF85npmasW7XZZxFe9PLc6wFqZlNx24X9jd/BVNodawdoRyeE3GXviRsuieiaAY3NUXkEatI39kEQD5y7Nxa0/Jfr8yu/yQ7QuETXjhAmHhEf0Da7zo77L9+aDomIfcTeIKupA=;5:RL5BcJCaunI04oL2IXQI+D8lweahFljxBHy1zYQterwkpH+Smg4WSSY8sCqN/NrOrfuhMAHUD6GJVoVOkz+QzOXJWYLm2P89bXQ6oiog88wia/NNQtt9FKvxUbIFPRY0h136TrcvXleTVUUML9lbNScvyqJfk7LP/IqGZdydKHY=;24:8E+8cwESh1rS0PuCWJhojloZl1E/QkUnD7cQel0W6q/X+xrW/MS6lGEXgYMTmlcxL9kNBYliod4H690FvXfsbByscw4F5dHMyRdRB3mNCoM=;7:sHQQCH0BDus5K/RGfWThAkI7qHqfeR8DKsjXZB3PXVpuYxttHclugpzLQxXL3SIxSAjsNySfPYgJin6MnD/sKi/3/3+veW0161oDUk8r1z3sUPU8kI+w1nMHyKAI+a+dRDvQWDSEoymAwXnTAvXdcWuqMDmlNF+w0RP5mbdqu8/vb7HN+Gg5/qtLPgL+XHM62qXqK4rn0jmEq6O2T6fK4kud3XySz0cqvpIZJd0v4AxMS871TNM9YU/UYzSFH7Pm x-incomingheadercount: 43 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1601125374)(1603101448)(1701031045);SRVR:VE1EUR01HT194; x-ms-traffictypediagnostic: VE1EUR01HT194: x-ms-office365-filtering-correlation-id: 832ed8fe-91dc-4c61-16ff-08d546500081 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444000031);SRVR:VE1EUR01HT194;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:VE1EUR01HT194; x-forefront-prvs: 0525BB0ADF x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:VE1EUR01HT194;H:AM5P195MB0067.EURP195.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_AM5P195MB00674BC1177013DD2A2C563CEF0E0AM5P195MB0067EURP_" Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 832ed8fe-91dc-4c61-16ff-08d546500081 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Dec 2017 19:46:16.1643 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR01HT194 X-Archives-Salt: b6586b65-b8a1-4b01-a4ac-7e7f221669dd X-Archives-Hash: d1fe0373569ff5fcb41caf5b02adaf39 --_000_AM5P195MB00674BC1177013DD2A2C563CEF0E0AM5P195MB0067EURP_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 --_000_AM5P195MB00674BC1177013DD2A2C563CEF0E0AM5P195MB0067EURP_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
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 actual= ly contain "unbuffer" which can help me out. But there is no unbu= ffer command.

Am I missing something or is there any other way to do that?

-Ramon


--_000_AM5P195MB00674BC1177013DD2A2C563CEF0E0AM5P195MB0067EURP_--