From owner-svn-src-head@freebsd.org Tue Apr 4 12:25:03 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 680DFD2D5BD; Tue, 4 Apr 2017 12:25:03 +0000 (UTC) (envelope-from kevans91@ksu.edu) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0079.outbound.protection.outlook.com [104.47.32.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 00AEDB80; Tue, 4 Apr 2017 12:25:02 +0000 (UTC) (envelope-from kevans91@ksu.edu) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ksu.edu; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=w7t+BYSmOODUPPV0NzL2fVeU198Clq5jKAou3cC9NTo=; b=Kl/ZTbotFsR7yLhBYLJQxrcklNN3UgSzMuM4/WDdNP2ctiMIcaCEGnpbHSpJeRKTe9rLAUvu0uxPRDtLikFuRgVfR0ZpUh7z9CQEDlouP8a7C3wE8bdpAo+RjtbTm60uZ+FQGqAiiIEJHlyZZmwkMVOeZR82Y4SLv1rD2nBut30= Received: from BLUPR05CA0075.namprd05.prod.outlook.com (10.141.20.45) by CY4PR05MB3573.namprd05.prod.outlook.com (10.171.244.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.8; Tue, 4 Apr 2017 12:25:00 +0000 Received: from BL2NAM02FT060.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::207) by BLUPR05CA0075.outlook.office365.com (2a01:111:e400:855::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1019.8 via Frontend Transport; Tue, 4 Apr 2017 12:25:00 +0000 Authentication-Results: spf=pass (sender IP is 129.130.18.151) smtp.mailfrom=ksu.edu; freebsd.org; dkim=none (message not signed) header.d=none;freebsd.org; dmarc=bestguesspass action=none header.from=ksu.edu; Received-SPF: Pass (protection.outlook.com: domain of ksu.edu designates 129.130.18.151 as permitted sender) receiver=protection.outlook.com; client-ip=129.130.18.151; helo=ome-vm-smtp1.campus.ksu.edu; Received: from ome-vm-smtp1.campus.ksu.edu (129.130.18.151) by BL2NAM02FT060.mail.protection.outlook.com (10.152.76.124) with Microsoft SMTP Server id 15.1.1005.5 via Frontend Transport; Tue, 4 Apr 2017 12:24:59 +0000 Received: from calypso.engg.ksu.edu (calypso.engg.ksu.edu [129.130.43.181]) by ome-vm-smtp1.campus.ksu.edu (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id v34COxZF003681; Tue, 4 Apr 2017 07:24:59 -0500 Received: by calypso.engg.ksu.edu (Postfix, from userid 110) id 43944248305; Tue, 4 Apr 2017 07:24:59 -0500 (CDT) Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by calypso.engg.ksu.edu (Postfix) with ESMTPA id E3A65248302; Tue, 4 Apr 2017 07:24:56 -0500 (CDT) Received: by mail-wr0-f169.google.com with SMTP id k6so208283089wre.2; Tue, 04 Apr 2017 05:24:56 -0700 (PDT) X-Gm-Message-State: AFeK/H0FakktpmJKJT/V82lMFcFtXMVZjyZkbmq5cxtLkIYXIYGKVZir1nMI1JPEEBZ5nOi5eJH2lS/Q0dKChQ== X-Received: by 10.28.113.73 with SMTP id m70mr14946344wmc.12.1491308695060; Tue, 04 Apr 2017 05:24:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.39.134 with HTTP; Tue, 4 Apr 2017 05:24:34 -0700 (PDT) In-Reply-To: <4ceb1a18-3a72-c0e3-b2e2-f71d687cd153@freebsd.org> References: <201704032316.v33NGpbo037305@repo.freebsd.org> <4ceb1a18-3a72-c0e3-b2e2-f71d687cd153@freebsd.org> From: Kyle Evans Date: Tue, 4 Apr 2017 07:24:34 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r316477 - head/usr.bin/grep To: Andrey Chernov CC: Ed Maste , , , X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:129.130.18.151; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39860400002)(39840400002)(39450400003)(39850400002)(39410400002)(39400400002)(2980300002)(438002)(24454002)(199003)(189002)(377454003)(450100002)(90966002)(106466001)(88552002)(93516999)(63696999)(356003)(9686003)(498394004)(98316002)(305945005)(8936002)(7906003)(54906002)(6306002)(9896002)(2906002)(50986999)(4326008)(606005)(42186005)(5660300001)(54356999)(229853002)(2950100002)(236005)(61266001)(45336002)(53546009)(46386002)(512874002)(61726006)(189998001)(38730400002)(86362001)(55446002)(8676002)(84326002)(8576002)(6916009)(6246003)(75432002)(59536001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR05MB3573; H:ome-vm-smtp1.campus.ksu.edu; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT060; 1:QcLjRdy1pIi3CKXRebfa0H2tRRSQTU+7xRE4FnK67knb8vQsVvnSw4Vb/TxoComneVGqnafzCiv9zYbpalBiNxd5cEWuEJdAxGbOHtkgQtT8GuW/DAG4ayv6/a8ItIEd6Ts7iLfaECcBb5hcveWrugGc6Qr7AK/OwieIw8nxl4OEa3EPmRxtfvmISDqhyCUduADDvJ1+VZRj0F7h9cGC0JtkzZQI1ty7aBbB+MIRQSHy8O/52pWy2b4gxcchZTFeL1/0gDPHsVur5tamLXTK7BD0cSlsJbhOv/g7bw04bHGLLJ4pk4EiDq6X5XapXcGWwl/KyKbZhLJAvllAv/u6VxQWvw0ryGiTDY1f1R3FDRjI7ljS7M+JWeD2VWPvrW0MHZyr+C+Q4XxIcNsuE9lhC3VGT3wBsMhWLw3mEXroh7O/MDWfvssSs72jzGiZ9nJBn9+Mpdj4Fei2SOCUl5cfbk2jnzBLA9oFwgnnfc44pV0vGZGt9Iu9DP4IzXjt1X0lx73Wv7XXwzy6RT+lfebIhIbQNPTDjKNxtXAEIIwjh68= X-MS-Office365-Filtering-Correlation-Id: 4d1e3450-9e41-445a-5dc8-08d47b559cea X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:CY4PR05MB3573; X-Microsoft-Exchange-Diagnostics: 1; CY4PR05MB3573; 3:nTfP5CZQPj3PjY28H71kd2lX1g5yI7V7tdkpbFXVrsQFHgaUcxUKo2BrBPPPhMkoQ/vOkOYDBOdD8l8RDLqJyGhRbtoSbS2gOnGTWdgL6UNPPoALlK8ZLZKb/zeH7U47N7yGrjVT6cuZ0KnY9H/REBVGb43Kz1TiodnVYSk3ujVg5MIunKq8ULNzYEjK7072tTJ8Z/If/uYeJfL0STsCq+r+Mh1jdFsMPnr3n4padnUv7jo0Eef6NgPiQdrnSSyMA+OH29mC6J3+Cw/bfWXViTaJVstqu3huC4mQLR8GdCDHD0ng8ciHxuEojcFiNkmdsv+iuuUaXitwUv0ZwSjj5enXmPFPruJs35AZFValZdX+C2NdURcOrwFlHXfCzewj+GxSXEh6T2I4eiFDWudamBf+Hy7ayfhwsLM2Lrqp5G2qRcJ6Tq80HU4wMhQFcQzjmvi3qOwl2dg5kUWfVP9MlCe3Uzuzv24j0DzYSYcpuD1Aw/lZSr8sAEfgeIIQOD78HRiOMmzEBbbKMxEpSnobgg== X-Microsoft-Exchange-Diagnostics: 1; CY4PR05MB3573; 25:8YwA/NYRk0DSVWSysSxukvDgK5jezN+c7oC38fFvBqi02qMNgJzJVH50wIW0bF1yr58OC0QBNqYIFyahlBWxii3eDNnGkXPnrB50KDzX2MxBtOIzMaYLfMvqPahqWXHcJSvaewDM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+IR6W05v8zqQZ9EpTqWvEL/PwHyjhHziUxO0EHE8p5okKCsthrxr7wNHyLrsSe1b09MZjFkiInks6Hy0A2Bd96783 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(13018025)(13024025)(13023025)(8121501046)(13015025)(13017025)(5005006)(93006095)(93004095)(3002001)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:CY4PR05MB3573; BCL:0; PCL:0; RULEID:; SRVR:CY4PR05MB3573; X-Microsoft-Exchange-Diagnostics: 1; CY4PR05MB3573; 4:OckyB7p0B/h24WiDt/nTr27z1oH1vwuDQcnpsxu7ZYoJ36HVYsYBJGwjuDSbbuuP0YJFsMkCyOXIvTdGKtK2gK10O3yIA3nxHtSOve3xWoBDXaOn8wpL047a6Xgj/357whguZqbz+/hYN7OXDvvgTnFa5OmH+QKgPiw7nAW4bqcOnYg8lmvhw5E5flDbosL1lCjAbG4wM8LW+/iKJeQakAxCbxzf2VP6l0wDRaxOCGbOiBj8haZsZR3oa3ygXXH+HDduHIUOwJMma9PAqc0/N1HekGS+bfZUJQFOHpJ4XMMgosxnarRV5uAzspkuPkW9Qr8hVKnuuVoAQjZQwPFKjypGyG+epwb1Jlz3op2i4Hdvq1JZ6X+n1gncLp/U2y4cxeaqhwelZm7SFz2m20e4huA4eK4o5BFRyRztssXjUTbjoS/fcPaP0NdcDEn0iAoGg4DMY/PnhYDnoARkCENwhqMXKaN9jK4rIsTukfcVU8pzvB44mS6SBSQAUJAY6y/pTF8UcbxJ6LWYh8GHA/dTeEHbRrbtpZrTA17/8J9oM2Aan19OELpfKtLNyuZugNT+sQmWxdfDHr0KsOSg9WmPaH/5S++Vqu73UpKQJPZ9AAgKkW3vsloOAUT/VaYqRXqtrYsROzYmviVINHG1khXWk5CjoeiDlv1mO2p3pfloC8PZUrtJWOIbJeqdMSqzG1KdsFNMUL5WG6kZUR/ZqtpStkwDK2BNBG8p/v0mLjICaO9jc8WUBFkSWYnBmrkEr1oXpWFKmw39IFGlLQj5ifUs7ZVvfyth3y1HuT8g3chTV4ruKV6AFHgvAXQrf377U2npntS93vFvp2/SWi0HLiPl1A== X-Forefront-PRVS: 0267E514F9 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR05MB3573; 23:ytbogGDiyNTPvHUoVjbgAm383F2qJQcpuFTDKMa8m?= =?us-ascii?Q?4I4WCv3jT/xObPbTlTly8NHQ1atW3SaygXVopXGLf//zUzd+5Pxni3T8n0nY?= =?us-ascii?Q?mYRj/hBxw2BsSPFNUWiXiJH3ZoICgZLmjnv5rMGKVhbFkJx679vG8EUjo1yh?= =?us-ascii?Q?n1hDEh63ZIHv+wlZ+RnVwcMUvEFI/4yr72BZf3isIVTY6BmTkVslzTZnQ9k6?= =?us-ascii?Q?BPNqJ0tJuzV/k4+TmyID31QzcufjmwVZrZIU6TwLLpCyA17SR10pOhJRo67O?= =?us-ascii?Q?gTq4+oFOpr0EqB/uD38j708hjGPh+QrQRyxFchwvQANlC+A7P8Z9l5RahdkU?= =?us-ascii?Q?F1lkUUub5XM7zT+sicklhvVZgmT1aqJ9njLExPLOnZIFNT0tPEeFQ4dPIVRH?= =?us-ascii?Q?V+HT0rlOViYzZ00umos1IpCCnyacJ1AG7gnJoscjRgrpk4QRPyNXSff0QRyI?= =?us-ascii?Q?FB0GxqEn7HzsFbJ9UKPpC23Q7EiKTbwPJ7vy0cLzQ0QhZzMOZm92pX/wPwtg?= =?us-ascii?Q?W9/7QokpIjyoiAj1p5BbpHDydmWEbgmBHfDRHD5JUJJnMPDj/GQ1SiqrCTiD?= =?us-ascii?Q?BR+6wTCvItlbdRoInyBcCyFnVe3HJESCxHBv4WR3vrLHoQodAaYmiZaQ2jJL?= =?us-ascii?Q?fsMxRrK255zJioTOWtxVJs14BBfkgSCW6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MlQcnD/9gLzI+gnpfihFs3U8IfQpKZiYKk15HRzy7wlYdGduwWpImu9O97PfYowvYR0qnDLhUdySmLukcPpVwB1vtO8enPud/cX6ctyART0s5HRMaGDr3Mnec6rFAFmQubp3sTYQqnEWH+dQjKTJVhY85rGrVP7p+J9ZLQebj7OC5QYdQ==; 5:e8jKAIEA9PgPmxjR8szueOt/8t+HCFaY9JHM72FJ7coAkroVTCPOtNJL+qgJ7NEQ7ERaSHZ1iWSqpqXCh1OZL1f1zxVB9PCe8KH9aNBzqCjLj/uMk1yP2V4lmj3lvPdbEmpPBAykkS2/dxM0xClT+Q==; 24:vPbmiJbzqwU2NIvfdSR6y+wP0yFlpzCO1FV+18JEAsZEruAIWA5Ub8SDskqDY2AgN/wgleV+yywwa+fT+P1pV0KYgDiV64sEqvmkHOmJr7M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR05MB3573; 7:1ghaGAnXBQ20RfypK17L2H/NM7W+6uJ4g/UB/3a+g4T19o0oVvJT0Md+bqj2sgFdvM7vXMtuDQPWdUUnBu018qfIuiNU+lfnA43cp8bRIM9PY06himV2JM0gIUqkANZVddYDXxMunOrsJwDKiUAQQW5yzKa8t468jB3Ua+tBeMjw3m/SvuAueAlSS4z5kmX6MiDXvL67H+q3pdZ+lrSemjWBqp0mctpY/6RKui9lZObeECsp170oDv4cvRrZhhHtF3TccrGe0eP1vvUa9RQJRcRQtUsFv4SUXbcTYkBLAdW+aedNqj4/hz5L7yvk6gMOW/QKGMIhIaBeA6uUh5SmPw==; 20:13YpZh/ZAp3akyhBsjsvgdrSOFYaaf1rJrzVddecNFxk1ZnRdK5byO2nW6UcqmqVt8ar9a0fjJfdDPbC+WwT0ZtB6oFvSx9CrpAw/g0Lof/4oWwAgYkvOEq3637BEFjdRb0afQyu/+96frVo5rgjsgPiCIgXnKUrGQz1RsZYByg= X-OriginatorOrg: ksu.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2017 12:24:59.9561 (UTC) X-MS-Exchange-CrossTenant-Id: d9a2fa71-d67d-4cb6-b541-06ccaa8013fb X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d9a2fa71-d67d-4cb6-b541-06ccaa8013fb; Ip=[129.130.18.151]; Helo=[ome-vm-smtp1.campus.ksu.edu] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR05MB3573 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 04 Apr 2017 12:25:03 -0000 On Tue, Apr 4, 2017 at 7:07 AM, Andrey Chernov wrote: > On 04.04.2017 2:16, Ed Maste wrote: > > if (color) > > - fprintf(stdout, "\33[m\33[K"); > > + fprintf(stdout, "\33[00m\33[K"); > > Please back that one out. We don't need to handle internally or print > remotely excessive 00. > At least according to > https://en.wikipedia.org/wiki/ANSI_escape_code > "With no parameters, CSI m is treated as CSI 0 m (reset / normal), which > is typical of most of the ANSI escape sequences." Hi ache@, This specific change was made in the name of explicitly matching colored output of GNU grep for simplification of regression test purposes, rather than for good form. Is it still unacceptable to do so? Thanks, Kyle Evans