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

From: Julien Denis <[email-masked]>
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