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

2017-03-31 Thread Eric Blake
tag 26322 notabug thanks On 03/31/2017 08:37 AM, Julien Denis wrote: > 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

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

2017-03-31 Thread Julien Denis
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 v