Re: grep(1) bug - duplicate output lines

2023-09-27 Thread Kyle Evans
On 9/27/23 22:34, Greg 'groggy' Lehey wrote: On Wednesday, 27 September 2023 at 22:30:43 -0500, Kyle Evans wrote: On 9/27/23 21:40, Jamie Landeg-Jones wrote: When using color=always and a regex of '.' (for example), output lines are duplicated. $ grep --version grep (BSD grep, GNU compatible)

Re: grep(1) bug - duplicate output lines

2023-09-27 Thread Greg 'groggy' Lehey
On Wednesday, 27 September 2023 at 22:30:43 -0500, Kyle Evans wrote: > On 9/27/23 21:40, Jamie Landeg-Jones wrote: >> When using color=always and a regex of '.' (for example), output lines >> are duplicated. >> >> $ grep --version >> grep (BSD grep, GNU compatible) 2.6.0-FreeBSD >> >> E.G.: >> >> $

Re: grep(1) bug - duplicate output lines

2023-09-27 Thread Kyle Evans
On 9/27/23 21:40, Jamie Landeg-Jones wrote: When using color=always and a regex of '.' (for example), output lines are duplicated. $ grep --version grep (BSD grep, GNU compatible) 2.6.0-FreeBSD E.G.: $ grep --color=always . /etc/fstab Cheers, Jamie I think this is what we want: https://pe

grep(1) bug - duplicate output lines

2023-09-27 Thread Jamie Landeg-Jones
When using color=always and a regex of '.' (for example), output lines are duplicated. $ grep --version grep (BSD grep, GNU compatible) 2.6.0-FreeBSD E.G.: $ grep --color=always . /etc/fstab Cheers, Jamie