Skip to content

Grep: Later pattern matches filename #2170

Open
@xuchunyang

Description

@xuchunyang

In Grep action, the pattern package use matches ;;; Package Manager, even there is no use in it. It is because the second pattern use is matching the filename /Users/xcy/foo.txt:

~ $ grep -niH -e package /Users/xcy/foo.txt  | grep --color=always -i  use
/Users/xcy/foo.txt:1:;;; Package Manager
~ $

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions