bug#18863: grep -b bug

2014-10-28 Thread Norihiro Tanaka
> Hi, I found that "grep -b" doesn't work on my machine. the expected > result for below command is "7:not", but I got 0 $ echo gnu is not > unix | grep -b -o "not" 0:not Bash version 3.2.25 Linux version 2.6.18 What is version of your grep? I trid your test case on CentOS 5.10, and I got the sam

bug#18863: grep -b bug

2014-10-28 Thread Eric Blake
tag 18863 notabug thanks On 10/27/2014 01:49 AM, 王琦 wrote: > Hi, I found that "grep -b" doesn't work on my machine. the expected result > for below command is "7:not", but I got 0 $ echo gnu is not unix | grep -b -o > "not" 0:not Bash version 3.2.25 Linux version 2.6.18 Thanks. 发自邮箱大师 [your rep

bug#18863: grep -b bug

2014-10-28 Thread 王琦
Hi, I found that "grep -b" doesn't work on my machine. the expected result for below command is "7:not", but I got 0 $ echo gnu is not unix | grep -b -o "not" 0:not Bash version 3.2.25 Linux version 2.6.18 Thanks. 发自邮箱大师