Skip to content

Rationalize grep behavior #31

@dspinellis

Description

@dspinellis
  • By default list only matching elements.
  • If exactly one -L -l or -v -o -c etc is specified, output only what is specified.
  • If --matching-lines is specified in addition to an option in the above list, also output the corresponding matching lines.
  • If more than one of the -L -l or -v -o -c etc options is specified generate one output per option.
  • If more than one -e option is specified, output one stream per option (do not implement this if internally the REs are merged into one).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions