From: Johannes Sixt Date: Thu, 26 Nov 2009 15:36:10 GMT Subject: Re: [RFC/PATCH 2/2] status -s: obey color.status Message-ID: <4B0EA06A.1050101@viscovery.net> In-Reply-To: <26d0a2022638ad7b75268ca291b8d02a22f1f66c.1259248243.git.git@drmicha.warpmail.net> Michael J Gruber schrieb: > * Is there any policy regarding use of putchar/puts vs. printf? If the printed string contains color escapes that should be obeyed, you can use only fputs, printf, and fprintf. You should not use puts or putchar. > * Even if I were to write tests for status -s: How do I test colors? See t4034-diff-words.sh. -- Hannes