Skip to content

🐛 Colored output from standard grep is not parsed correctly #794

@dandavison

Description

@dandavison

Delta officially supports two ways of highlighting grep output:

  1. git grep with delta configured as git's pager either via core.pager = delta or pager.grep = delta
  2. rg --json ... | delta

However, delta does try to highlight other grep output that is piped to it. This issue shows it failing to handle output from standard grep (grep (BSD grep) 2.5.1-FreeBSD)

image
image

cf

Similarly

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions