On 1/24/21 3:53 PM, Sebastian Benoit wrote: > And we already have -z for "force grep to behave as zgrep". Maybe I'm misunderstanding what you're saying, but '-Z' (uppercase) appears to be the flag for "Force grep to behave as zgrep." The '-z' (lowercase) is currently unused/invalid in our grep. FWIW, I agree that the '--null' long option naming is annoying and gross. There does appear to be somewhat of a precedent for use of '-0' with grep-like tools. The ripgrep tool forgoes '-z/-Z' and instead opts for '-0' and the '--null' long option. Regards, Jordan
- Re: grep: add --null flag Omar Polo
- Re: grep: add --null flag Sebastian Benoit
- Re: grep: add --null flag Ted Unangst
- Re: grep: add --null flag Theo de Raadt
- Re: grep: add --null flag Stuart Henderson
- Re: grep: add --null flag Theo de Raadt
- Re: grep: add --null flag Sebastian Benoit
- Re: grep: add --null flag Sebastian Benoit
- Re: grep: add --null flag Ted Unangst
- Re: grep: add --null flag Omar Polo
- Re: grep: add --null flag Jordan Geoghegan
- Re: grep: add --null flag Stuart Henderson
- Re: grep: add --null flag Jordan Geoghegan
- Re: grep: add --null flag Stuart Henderson
- Re: grep: add --null flag Jordan Geoghegan