From owner-svn-src-head@freebsd.org Fri Nov 30 10:57:15 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E5F4D113FC79; Fri, 30 Nov 2018 10:57:14 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8834A7C2B7; Fri, 30 Nov 2018 10:57:14 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1033) id 7650A1C0CE; Fri, 30 Nov 2018 10:57:14 +0000 (UTC) Date: Fri, 30 Nov 2018 10:57:14 +0000 From: Alexey Dokuchaev To: Baptiste Daroussin Cc: Steven Hartland , Maxim Sobolev , src-committers , "eugen@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" , Cy Schubert Subject: Re: svn: head/usr.bin: . trim Message-ID: <20181130105714.GA84052@FreeBSD.org> References: <20181130011713.42B641D27@spqr.komquats.com> <0e233c0c-6c80-4618-9618-48162362a849@multiplay.co.uk> <20181130084955.o4loxtuswdsvzksy@ivaldir.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181130084955.o4loxtuswdsvzksy@ivaldir.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 8834A7C2B7 X-Spamd-Result: default: False [1.02 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.16)[-0.162,0]; NEURAL_SPAM_LONG(0.66)[0.663,0]; NEURAL_SPAM_MEDIUM(0.52)[0.518,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2018 10:57:15 -0000 On Fri, Nov 30, 2018 at 09:49:55AM +0100, Baptiste Daroussin wrote: > On Fri, Nov 30, 2018 at 08:31:17AM +0000, Steven Hartland wrote: > > Personally I disagree, chances of people finding that option in dd > > is slim, a dedicated trim utility makes much more sense to me. Sure > > have both that's cool but keep the trim would be my vote. Having both is OK when there's no code duplication involved (e.g. like hd(1) being a handy hardlink to hexdump(1)), yet again... > I also like the idea of a simple dedicated tool with an obvious name. ... "Obvious" names can cut both ways. They can be too generic and thus create a clash in the future. They can be ambiguous ("trim" can just as easily be a tool that excessive whitespace from text files). ./danfe