From owner-freebsd-current@FreeBSD.ORG Sat Jul 24 15:41:31 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0875106566C for ; Sat, 24 Jul 2010 15:41:31 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id 8ADCD8FC08 for ; Sat, 24 Jul 2010 15:41:31 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id B22ED14DC2B9; Sat, 24 Jul 2010 17:41:30 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id e2WbIwO0Detu; Sat, 24 Jul 2010 17:41:28 +0200 (CEST) Received: from [192.168.1.105] (catv-80-99-92-167.catv.broadband.hu [80.99.92.167]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 3D5AC14DC124; Sat, 24 Jul 2010 17:41:28 +0200 (CEST) Message-ID: <4C4B099F.3020605@FreeBSD.org> Date: Sat, 24 Jul 2010 17:41:19 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Anonymous References: <86iq45d4wu.fsf@gmail.com> In-Reply-To: <86iq45d4wu.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: [bsdgrep] outputs color sequences even when stdout is not tty X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2010 15:41:31 -0000 > I think it should behave like ls(1) and gnu grep(1) and strip color > sequences if stdout is not associated with terminal. > Thanks for letting me know about this. The fix is being worked on just like for the -q/-l bug. Gabor