From: Johannes Sixt Date: Wed, 10 Mar 2010 07:26:16 GMT Subject: Re: [PATCH 00/12] Support columinized output in tag/branch/ls-files/grep Message-ID: <4B974998.5030708@viscovery.net> In-Reply-To: Nguyen Thai Ngoc Duy schrieb: > On 3/9/10, René Scharfe wrote: >> OK, forking out is easy, but replacing printf() calls with calls to feed >> the columnizer shouldn't be _that_ intrusive, either. > > Well, also fwrite() and write(). If disliked "if (blah) feed_it(); > else printf(as normal);" construct. But we can wrap it to > feed_or_printf(). How about merging this into color_fprintf and friends? -- Hannes -- "Atomic objects are neither active nor radioactive." -- Doc.No N3035 (Working Draft, Standard for Programming Language C++)