Date: Sun, 15 Jan 2012 18:24:25 +0400 (MSK) From: Yuri Pankov <yuri.pankov@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/164139: [bsdgrep] remove duplicate line from usage Message-ID: <201201151424.q0FEOPMq054593@sirius.xvoid.org> Resent-Message-ID: <201201151430.q0FEUC8n075587@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 164139 >Category: bin >Synopsis: [bsdgrep] remove duplicate line from usage >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 15 14:30:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Yuri Pankov >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD sirius.xvoid.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r229702: Fri Jan 6 19:49:41 MSK 2012 yuri@sirius.xvoid.org:/usr/obj/data/src/freebsd/head/sys/GENERIC amd64 >Description: bsdgrep outputs duplicate lines in usage output: $ bsdgrep --help usage: bsdgrep [-abcDEFGHhIiJLlmnOoPqRSsUVvwxZ] [-A num] [-B num] [-C[num]] [-e pattern] [-f file] [--binary-files=value] [--color=when] [-e pattern] [-f file] [--binary-files=value] [--color=when] [--context[=num]] [--directories=action] [--label] [--line-buffered] [--null] [pattern] [file ...] >How-To-Repeat: >Fix: --- grep.diff begins here --- Index: usr.bin/grep/grep.c =================================================================== --- usr.bin/grep/grep.c (revision 230135) +++ usr.bin/grep/grep.c (working copy) @@ -158,7 +158,6 @@ { fprintf(stderr, getstr(4), getprogname()); fprintf(stderr, "%s", getstr(5)); - fprintf(stderr, "%s", getstr(5)); fprintf(stderr, "%s", getstr(6)); fprintf(stderr, "%s", getstr(7)); exit(2); --- grep.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201151424.q0FEOPMq054593>