bug-grep
[Top][All Lists]
Advanced

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

bug#26322: grep '*' VS grep -E '*'


From: Julien Denis
Subject: bug#26322: grep '*' VS grep -E '*'
Date: Fri, 31 Mar 2017 15:37:38 +0200

Hello,

Assuming that "textfile" is a regular non empty text file, is it
normal that grep '*' textfile returns nothing but grep -E '*' textfile
returns all the lines ?
I got this using Debian 7.1 stable and so grep is version 2.20.
Would a newer grep version resolve this or is it not a bug (but a
valid behavior of the star character in ERE) ?

Thanks!
Julien





reply via email to

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