Paul Eggert <eggert@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 50270) by debbugs.gnu.org; 30 Aug 2021 18:35:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 30 14:35:58 2021 Received: from localhost ([127.0.0.1]:60243 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mKm8U-0005IE-OZ for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 14:35:58 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:56460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eggert@HIDDEN>) id 1mKm8T-0005I2-Hu for 50270 <at> debbugs.gnu.org; Mon, 30 Aug 2021 14:35:57 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3B88B160109; Mon, 30 Aug 2021 11:35:52 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 0eWWUU6UjXe7; Mon, 30 Aug 2021 11:35:51 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 8D928160111; Mon, 30 Aug 2021 11:35:51 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 19akFC_76ibE; Mon, 30 Aug 2021 11:35:51 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 69C64160109; Mon, 30 Aug 2021 11:35:51 -0700 (PDT) Subject: Re: bug#50270: Suggestion To: Ojas Zanpure <ojaszanpure@HIDDEN> References: <CABPVZEKHCEirS4BWmca+p8shiFEjJsTpsU+T3RbHLvE=ih0oVQ@HIDDEN> From: Paul Eggert <eggert@HIDDEN> Organization: UCLA Computer Science Department Message-ID: <2d8a5a1a-04c3-1ed7-b9de-d6e15e0d28f4@HIDDEN> Date: Mon, 30 Aug 2021 11:35:51 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <CABPVZEKHCEirS4BWmca+p8shiFEjJsTpsU+T3RbHLvE=ih0oVQ@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 50270 Cc: 50270 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.4 (---) On 8/30/21 5:14 AM, Ojas Zanpure wrote: > It might be confusing for a beginner whether he > executed the command correctly, if he doesn't see anything on screen. True. However, grep's behavior here is standardized by POSIX and a lot of people rely on it, so I don't think we can change it. If there's any consolation, 'grep' is intended for experts (and you are now an expert ;-).
bug-grep@HIDDEN
:bug#50270
; Package grep
.
Full text available.Received: (at submit) by debbugs.gnu.org; 30 Aug 2021 14:57:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 30 10:57:08 2021 Received: from localhost ([127.0.0.1]:59972 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mKiii-00079Z-6N for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 10:57:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:36930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ojaszanpure@HIDDEN>) id 1mKgBw-0001ag-6p for submit <at> debbugs.gnu.org; Mon, 30 Aug 2021 08:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ojaszanpure@HIDDEN>) id 1mKgBw-0005DS-14 for bug-grep@HIDDEN; Mon, 30 Aug 2021 08:15:08 -0400 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:39841) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <ojaszanpure@HIDDEN>) id 1mKgBu-0000vX-5b for bug-grep@HIDDEN; Mon, 30 Aug 2021 08:15:07 -0400 Received: by mail-ej1-x633.google.com with SMTP id a25so30630284ejv.6 for <bug-grep@HIDDEN>; Mon, 30 Aug 2021 05:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=GcKNm19zCrKp5MwccyZoZ7+9isYkbrwYFHmuHPlHRR4=; b=dZr/4lGw6OLZ4+GiKkY+Ga5KzQtRWf7PWR1PPvWgmkxFi6vtnbVTlB2jUQ/w+26naz CQ47g2qXyelvozGRZQJz0bf2ThAt5ywdiluZXSWzgDJ8eQow+poi59C92t8ifNdaJKyX LEedEI2EqX7YPm3xFcHFSCImTdDJA2ZtXtB5ijjTrgSBWLuJ/st1mS15TmXLissi+dIX x2be8AsEK1RtgGQv0br13/gwY7UP23MRKoX+aewjBsdw6jWTxOgfVq6BWWFfRZLJVw0o zVpVyrJGUbaIwBKwPpIp01JuxiITHsP2Tv7pzMGfha0xw10Ohyqz6eMuGm4fjJ70xSLo RBfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=GcKNm19zCrKp5MwccyZoZ7+9isYkbrwYFHmuHPlHRR4=; b=OAyvlSVls/A5QM/oh7bvxJvyJlDbAiaKKBwgSrqyhF6YBzXC2WxITHZ026g9qipjMo qz5kEWRpVKqAjt27dPS0Uq4txtKJBf2vajd3dyRme5Vnc8Z6biA7UmsQTbnaacVIRBJc 9o72UHLzZL8FYU8nCNwi+jxjkJSBXQ7pMhnPQRifiBD2tK/csyvK9IrkrN2UFie3bT+O jmoCgMXviF/cC0qK8ydi2cDRR6SMl6obqIwo5gNUAT827bIn4CzdCYHzIG4fVOwxR90D wUdGAqz4ELBHmQAsEW4DORVyYpPsNCXfCqe5xbE+4OnYJ5pg8fOdMUj29aNH4TqgC0T4 kAuA== X-Gm-Message-State: AOAM533dZkiLyJGL4cvjis2uRLTPsm7IHWjeNeRdO4QrFeaKiqLRzNQH Nt4EUXJ3lZrq6RsTUk1Of8Z+yTVkuUOu9IYs60N4Pktk72I= X-Google-Smtp-Source: ABdhPJyHYYRKSHTsqWqVHiSsihWtdkpu3Kll+ScX9q0S8zcSGpsVcXBycEDHVSvsWtR8G/piaksOjH6sbch9LqpRTXo= X-Received: by 2002:a17:906:98c9:: with SMTP id zd9mr12852665ejb.388.1630325700361; Mon, 30 Aug 2021 05:15:00 -0700 (PDT) MIME-Version: 1.0 From: Ojas Zanpure <ojaszanpure@HIDDEN> Date: Mon, 30 Aug 2021 17:44:49 +0530 Message-ID: <CABPVZEKHCEirS4BWmca+p8shiFEjJsTpsU+T3RbHLvE=ih0oVQ@HIDDEN> Subject: Re: Suggestion To: bug-grep@HIDDEN Content-Type: multipart/alternative; boundary="0000000000003d027805cac5c843" Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=ojaszanpure@HIDDEN; helo=mail-ej1-x633.google.com X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 30 Aug 2021 10:57:06 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --0000000000003d027805cac5c843 Content-Type: text/plain; charset="UTF-8" Hi, I am a new linux user and I have used grep a couple of times, and I had a suggestion. Whenever I search for something using grep and it doesn't find any results, it doesn't return anything. My suggestion is, instead of just sending the user nothing, how about having a message like, "No results matching those parameters". It might be confusing for a beginner whether he executed the command correctly, if he doesn't see anything on screen. Regards, Ojas --0000000000003d027805cac5c843 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>I am a new linux user and I have us= ed grep a couple of times, and I had a suggestion. Whenever I search for so= mething using grep and it doesn't find any results, it doesn't=C2= =A0return anything. My suggestion is, instead of just sending the user noth= ing, how about having a message like, "No results matching those param= eters". It might be confusing for a beginner whether he executed the c= ommand correctly, if he doesn't see anything on screen.</div><div><br><= /div><div>Regards,</div><div>Ojas</div></div> --0000000000003d027805cac5c843--
Ojas Zanpure <ojaszanpure@HIDDEN>
:bug-grep@HIDDEN
.
Full text available.bug-grep@HIDDEN
:bug#50270
; Package grep
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.