emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65238: closed (grep can not using *.bat file pattern)


From: GNU bug Tracking System
Subject: bug#65238: closed (grep can not using *.bat file pattern)
Date: Sat, 12 Aug 2023 22:50:01 +0000

Your message dated Sat, 12 Aug 2023 15:49:27 -0700
with message-id <2d8fb593-9374-e4e8-b39c-7e30b099a62e@cs.ucla.edu>
and subject line Re: bug#65238: grep can not using *.bat file pattern
has caused the debbugs.gnu.org bug report #65238,
regarding grep can not using *.bat file pattern
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
65238: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65238
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: grep can not using *.bat file pattern Date: Sat, 12 Aug 2023 08:44:31 +0800
Hi Support, 

Install  by chocolatey

F:\shell grep --v
grep.exe (GNU grep) 3.7
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and others; see
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
Patched by: Michael M. Builov <mbuilov@gmail.com>

Error

F:\shell grep -i call *.bat
grep.exe: *.bat: Invalid argument

F:\shell


one accept file name only 

F:\shell grep -i call home.bat
if /i "%~1"=="/?" call :header & call :usage "%~2" & goto :end
if /i "%~1"=="-?" call :header & call :usage "%~2" & goto :end
if /i "%~1"=="-h" call :header & call :usage "%~2" & goto :end
if /i "%~1"=="--help" call :header & call :usage "%~2" & goto :end

F:\shell

--
moonhkt
GMT+8

--- End Message ---
--- Begin Message --- Subject: Re: bug#65238: grep can not using *.bat file pattern Date: Sat, 12 Aug 2023 15:49:27 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0
On 2023-08-12 15:27, Dimitry Andric wrote:

However, in most cases it is easier to use Cygwin or MinGW, which
provide Unix-like shells and all the familiar tools, including a working
grep! :-)

Thanks for explaining. Closing the bug report.



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]