Skip to content

Wrap the pattern around quotes #98

Description

@hbelmiro

Patterns containing special characters cause issues.

kgrep logs -n hbelmiro -p [Error]
zsh: no matches found: [Error]

To avoid that, wrap the pattern with " when it isn't already wrapped from the input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions