Bug#532541: bug#27931: grep -o fails to count empty lines (Debain Bug #532541)

2017-08-04 Thread Santiago R.R.
El 03/08/17 a las 13:16, Paul Eggert escribió: > On 08/03/2017 06:28 AM, Santiago R.R. wrote: > > the -o option, which is supposed to return only the matching > > parts of the search, fails: > > It's not failing. It's behaving as documented: -o outputs only nonempty > matches. Otherwise, commands

Bug#532541: bug#27931: grep -o fails to count empty lines (Debain Bug #532541)

2017-08-03 Thread Paul Eggert
On 08/03/2017 06:28 AM, Santiago R.R. wrote: the -o option, which is supposed to return only the matching parts of the search, fails: It's not failing. It's behaving as documented: -o outputs only nonempty matches. Otherwise, commands like 'grep -o "a*"' would output a separate line for each