bug-grep
[Top][All Lists]
Advanced

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

Re: [bug #25197] grep -R defaults to stdin, not the current directory


From: Wacek Kusnierczyk
Subject: Re: [bug #25197] grep -R defaults to stdin, not the current directory
Date: Sat, 14 Feb 2009 09:29:38 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Nicodemo Alvaro wrote:
> Follow-up Comment #2, bug #25197 (project grep):
>
> The work around I use is either being above the directory to scan or placing
> a ./ at the end of the command.
>
> grep -r HI ./
>
> To me it would be very reasonable to not have to place an argument at the end
> of the command for a recursive grep of the current directory as the './' is
> not very neat.
>   

looks like it's enough with just the dot (which is arguably much more neat):

grep -r HI .

vQ





reply via email to

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