From owner-freebsd-arch@freebsd.org Wed Jul 4 06:52:06 2018 Return-Path: Delivered-To: freebsd-arch@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 9D3C51038D9F for ; Wed, 4 Jul 2018 06:52:06 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3A9368A86E for ; Wed, 4 Jul 2018 06:52:06 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: by mailman.ysv.freebsd.org (Postfix) id EDD5C1038D9A; Wed, 4 Jul 2018 06:52:05 +0000 (UTC) Delivered-To: arch@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 D9BC01038D99 for ; Wed, 4 Jul 2018 06:52:05 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 6D28F8A86A; Wed, 4 Jul 2018 06:52:05 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id E400E14817; Wed, 4 Jul 2018 06:52:03 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTPS id w646q35T095859 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 4 Jul 2018 06:52:03 GMT (envelope-from phk@critter.freebsd.dk) Received: (from phk@localhost) by critter.freebsd.dk (8.15.2/8.15.2/Submit) id w646q2nb095858; Wed, 4 Jul 2018 06:52:02 GMT (envelope-from phk) To: Bryan Drewery cc: "Rodney W. Grimes" , Warner Losh , Eitan Adler , "freebsd-arch@freebsd.org" Subject: Re: xstr, mkstr In-reply-to: <31b491de-ac5e-ca0f-5f84-96cfa7c02699@FreeBSD.org> From: "Poul-Henning Kamp" References: <201807031756.w63HuM2c039271@pdx.rh.CN85.dnsmgr.net> <31b491de-ac5e-ca0f-5f84-96cfa7c02699@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <95856.1530687122.1@critter.freebsd.dk> Content-Transfer-Encoding: quoted-printable Date: Wed, 04 Jul 2018 06:52:02 +0000 Message-ID: <95857.1530687122@critter.freebsd.dk> X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2018 06:52:06 -0000 -------- In message <31b491de-ac5e-ca0f-5f84-96cfa7c02699@FreeBSD.org>, Bryan Drewe= ry wr ites: >On the otherhand I don't see the point in removing something that isn't >harming anything, is not worth talking about in terms of size or build >time, and is unlikely to need maintenance. Source code is a liability, it is not an investment. If the code is useless and not part of a published API, then it should be removed. >This argument of "not useful" is a bit subjective. Is cut useful when we >have awk? I won't go on. cut(1) & awk(1) are both part of the published API, so that comparison get= s you nowhere. -- = Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe = Never attribute to malice what can adequately be explained by incompetence= .