Date: Sat, 31 Dec 2011 15:06:24 +0100 From: =?UTF-8?B?R8OhYm9yIEvDtnZlc2TDoW4=?= <gabor@t-hosting.hu> To: Gleb Kurtsou <gleb.kurtsou@gmail.com> Cc: svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Gabor Kovesdan <gabor@FreeBSD.org>, svn-src-stable-9@freebsd.org Subject: Re: svn commit: r229081 - stable/9/usr.bin/grep Message-ID: <4EFF16E0.7000206@t-hosting.hu> In-Reply-To: <20111231140027.GA3487@reks> References: <201112311312.pBVDCBja064475@svn.freebsd.org> <20111231140027.GA3487@reks>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EFF16E0.7000206>
