From owner-svn-src-stable-9@FreeBSD.ORG Sat Dec 31 14:22:36 2011 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3499B106566C; Sat, 31 Dec 2011 14:22:36 +0000 (UTC) (envelope-from gabor@t-hosting.hu) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id D72FF8FC0A; Sat, 31 Dec 2011 14:22:35 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 470EA14E699B; Sat, 31 Dec 2011 15:06:34 +0100 (CET) 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 W9TXfgNmSUn6; Sat, 31 Dec 2011 15:06:32 +0100 (CET) Received: from [192.168.1.117] (catv-80-98-232-12.catv.broadband.hu [80.98.232.12]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id 0D9FE14E697D; Sat, 31 Dec 2011 15:06:31 +0100 (CET) Message-ID: <4EFF16E0.7000206@t-hosting.hu> Date: Sat, 31 Dec 2011 15:06:24 +0100 From: =?UTF-8?B?R8OhYm9yIEvDtnZlc2TDoW4=?= User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a2) Gecko/20111122 Thunderbird/10.0a2 MIME-Version: 1.0 To: Gleb Kurtsou References: <201112311312.pBVDCBja064475@svn.freebsd.org> <20111231140027.GA3487@reks> In-Reply-To: <20111231140027.GA3487@reks> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Gabor Kovesdan , svn-src-stable-9@freebsd.org Subject: Re: svn commit: r229081 - stable/9/usr.bin/grep X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 14:22:36 -0000 On 2011.12.31. 15:00, Gleb Kurtsou wrote: >> ${BINDIR}/grep ${BINDIR}/fgrep \ >> > ${BINDIR}/grep ${BINDIR}/zgrep \ >> > ${BINDIR}/grep ${BINDIR}/zegrep \ >> > - ${BINDIR}/grep ${BINDIR}/zfgrep \ >> > - ${BINDIR}/grep ${BINDIR}/xzgrep \ >> > - ${BINDIR}/grep ${BINDIR}/xzegrep \ >> > - ${BINDIR}/grep ${BINDIR}/xzfgrep \ >> > - ${BINDIR}/grep ${BINDIR}/lzgrep \ >> > - ${BINDIR}/grep ${BINDIR}/lzegrep \ >> > - ${BINDIR}/grep ${BINDIR}/lzfgrep >> > + ${BINDIR}/grep ${BINDIR}/zfgrep > Is there a reason we need all this mess is the first place? 12 grep links under > /usr/bin. Why not to make zgrep handle all compression types. Tranparent > compression handling in tar was a great success. > 1, xzgrep comes from archivers/xz so scripts may be using it 2, the rest to follow the naming convention 3, auto-detection is not always trivial Gabor