From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 25 03:45:35 2017 Received: (at submit) by debbugs.gnu.org; 25 Apr 2017 07:45:35 +0000 Received: from localhost ([127.0.0.1]:38770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2vAF-0002eO-LZ for submit@debbugs.gnu.org; Tue, 25 Apr 2017 03:45:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2vAD-0002eC-Vq for submit@debbugs.gnu.org; Tue, 25 Apr 2017 03:45:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2vA7-0004yg-RZ for submit@debbugs.gnu.org; Tue, 25 Apr 2017 03:45:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38791) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2vA7-0004yW-OH for submit@debbugs.gnu.org; Tue, 25 Apr 2017 03:45:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d2vA6-00058F-LB for bug-grep@gnu.org; Tue, 25 Apr 2017 03:45:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d2vA3-0004w8-Fz for bug-grep@gnu.org; Tue, 25 Apr 2017 03:45:26 -0400 Received: from ishtar.tlinx.org ([173.164.175.65]:53580 helo=Ishtar.sc.tlinx.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d2vA3-0004tV-6Q for bug-grep@gnu.org; Tue, 25 Apr 2017 03:45:23 -0400 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v3P7jEJ3071031 for ; Tue, 25 Apr 2017 00:45:16 -0700 Message-ID: <58FEFE8A.9080709@tlinx.org> Date: Tue, 25 Apr 2017 00:45:14 -0700 From: "L. A. Walsh" User-Agent: Thunderbird MIME-Version: 1.0 To: bug-grep@gnu.org Subject: What's wrong w/this grep? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > /usr/bin/grep --color=auto -I -D skip -d skip -exclude-from=EX -P -r xrm /usr/bin/grep: xrm: No such file or directory > /usr/bin/grep --version /usr/bin/grep (GNU grep) 2.21.31-adf9 How did 'xrm' become a file name? It happened after I added the "-exclude-from=EX -P -r" to an alias... but it happens when I use the binary directly (i.e. no alias). I was expecting 'xrm' to be a pattern that was searched for in the files starting at the current directory. "New" to me -- use of the -exclude-from option. Of note: EX contains: *.orig *.1 *.1.in Ideas? Doesn't seem like correct action... From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 25 03:55:33 2017 Received: (at 26648-done) by debbugs.gnu.org; 25 Apr 2017 07:55:33 +0000 Received: from localhost ([127.0.0.1]:38780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2vJt-0002sm-Kp for submit@debbugs.gnu.org; Tue, 25 Apr 2017 03:55:33 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:59960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2vJs-0002sZ-8p for 26648-done@debbugs.gnu.org; Tue, 25 Apr 2017 03:55:32 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 7F7BB16005C; Tue, 25 Apr 2017 00:55:25 -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 0JQoVMApFPJ0; Tue, 25 Apr 2017 00:55:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id CD47F160062; Tue, 25 Apr 2017 00:55:24 -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 CXbWRK7sRYOm; Tue, 25 Apr 2017 00:55:24 -0700 (PDT) Received: from [192.168.1.9] (unknown [47.153.188.248]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id B038416005C; Tue, 25 Apr 2017 00:55:24 -0700 (PDT) Subject: Re: bug#26648: What's wrong w/this grep? To: "L. A. Walsh" , 26648-done@debbugs.gnu.org References: <58FEFE8A.9080709@tlinx.org> From: Paul Eggert Organization: UCLA Computer Science Department Message-ID: <67c704ec-5876-e11d-d1e8-2971bf2cc762@cs.ucla.edu> Date: Tue, 25 Apr 2017 00:55:24 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <58FEFE8A.9080709@tlinx.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26648-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) L. A. Walsh wrote: >> /usr/bin/grep --color=auto -I -D skip -d skip -exclude-from=EX -P -r xrm > /usr/bin/grep: xrm: No such file or directory >> /usr/bin/grep --version > /usr/bin/grep (GNU grep) 2.21.31-adf9 > > How did 'xrm' become a file name? Because you omitted a "-" before "-exclude", and that caused your pattern to be 'xclude-from=EX'. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 25 03:58:41 2017 Received: (at 26648) by debbugs.gnu.org; 25 Apr 2017 07:58:41 +0000 Received: from localhost ([127.0.0.1]:38791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2vMv-0002xu-8v for submit@debbugs.gnu.org; Tue, 25 Apr 2017 03:58:41 -0400 Received: from thorn.bewilderbeest.net ([71.19.156.171]:40256) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d2vMt-0002xm-R5 for 26648@debbugs.gnu.org; Tue, 25 Apr 2017 03:58:40 -0400 Received: from hatter.bewilderbeest.net (hatter.bewilderbeest.net [IPv6:2001:470:c3f4:1::1:1]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 767198047B; Tue, 25 Apr 2017 00:58:38 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 thorn.bewilderbeest.net 767198047B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1493107118; bh=al1h27TTKqDtSukeMGJFVI2n7OSOItuQrFg7Vnkn8/k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I8os1Jp5R7k6vncM9XpmtUBFk/evR+sjNvQ5U1VVw0r+7BXewIWq63CrY/UH2/R5k qpL8mkP6bgjsrPIOnChgoB2KmwfvDuo0E2B1+VaviI5pp9AFFoZFrWOZfQ2mr6rA9m lq9vWqiW4UoMlUaCKa6z14W+RUGea7rZqfLwv4qw= Date: Tue, 25 Apr 2017 02:58:36 -0500 From: Zev Weiss To: "L. A. Walsh" Subject: Re: bug#26648: What's wrong w/this grep? Message-ID: <20170425075836.2ku6nu7fg7ivnkha@hatter.bewilderbeest.net> References: <58FEFE8A.9080709@tlinx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <58FEFE8A.9080709@tlinx.org> User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 26648 Cc: 26648@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Tue, Apr 25, 2017 at 02:45:14AM CDT, L. A. Walsh wrote: >> /usr/bin/grep --color=auto -I -D skip -d skip -exclude-from=EX -P -r xrm >/usr/bin/grep: xrm: No such file or directory >> /usr/bin/grep --version >/usr/bin/grep (GNU grep) 2.21.31-adf9 > >How did 'xrm' become a file name? > >It happened after I added the "-exclude-from=EX -P -r" >to an alias... but it happens when I use >the binary directly (i.e. no alias). > >I was expecting 'xrm' to be a pattern that was searched >for in the files starting at the current directory. > >"New" to me -- use of the -exclude-from option. >Of note: EX contains: >*.orig >*.1 >*.1.in > > >Ideas? Doesn't seem like correct action... > Perhaps '--exclude-from' rather than '-exclude-from'? From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 25 14:54:45 2017 Received: (at 26648-done) by debbugs.gnu.org; 25 Apr 2017 18:54:45 +0000 Received: from localhost ([127.0.0.1]:40044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d35bn-0007ZM-Jq for submit@debbugs.gnu.org; Tue, 25 Apr 2017 14:54:43 -0400 Received: from ishtar.tlinx.org ([173.164.175.65]:38482 helo=Ishtar.sc.tlinx.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d35bl-0007ZA-Rs for 26648-done@debbugs.gnu.org; Tue, 25 Apr 2017 14:54:42 -0400 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id v3PIsUKb029965; Tue, 25 Apr 2017 11:54:32 -0700 Message-ID: <58FF9B66.8090400@tlinx.org> Date: Tue, 25 Apr 2017 11:54:30 -0700 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: Paul Eggert Subject: Re: bug#26648: What's wrong w/this grep? References: <58FEFE8A.9080709@tlinx.org> <67c704ec-5876-e11d-d1e8-2971bf2cc762@cs.ucla.edu> In-Reply-To: <67c704ec-5876-e11d-d1e8-2971bf2cc762@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26648-done Cc: 26648-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Paul Eggert wrote: > > Because you omitted a "-" before "-exclude", and that caused your > pattern to be 'xclude-from=EX'. Dang -- confused w/the file find util, which I was also using...*sigh*... _Thanks_ & sorry for the bother... I had a feeling it was something I did, (note I didn't call it a bug! ;-))... linda From unknown Sun Jun 22 00:16:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 May 2017 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator