On 2020-05-14, loic.tregouet wrote:
> Hi,
>
> I've reproduced a strange behaviour of grep command when a file
> name of a single letter is present in current directory .
>
> $ echo a | grep [a-z]
> a
> $ touch t
> $ echo a | grep [a-z]
> $ rm t
> $ echo a | grep [a-z]
> a
> $
>
>
> Any idea ?
Hi Loic!
On Thu, 14 May 2020 13:57:48 +
wrote:
> Hi,
>
> I've reproduced a strange behaviour of grep command when a file name of a
> single letter is present in current directory .
>
> $ echo a | grep [a-z]
> a
> $ touch t
> $ echo a | grep [a-z]
> $ rm t
> $ echo a | grep [a-z]
> a
> $
>
Hi,
I've reproduced a strange behaviour of grep command when a file name of a
single letter is present in current directory .
$ echo a | grep [a-z]
a
$ touch t
$ echo a | grep [a-z]
$ rm t
$ echo a | grep [a-z]
a
$
Any idea ?
Regards