bug#20443: grep pattern is forward slash + star
tag 20443 notabug thanks On 04/27/2015 01:05 PM, Clay Hansen wrote: > Dear Coders, > > if I echo 'a * z' | grep '/*' it succeeds and prints 'a * z'. > Can this be right? Yes. The regular expression '/*' says to match 0-or-more instances of '/'. 'a * z' has zero instances of '/', so it mat
bug#20443: grep pattern is forward slash + star
Dear Coders, if I echo 'a * z' | grep '/*' it succeeds and prints 'a * z'. Can this be right? echo 'a * z' | grep -F '/*' fails as expected. Tested in Salix on grep-2.14 and freshly compiled grep-2.21. Thanks,