Skip to content

'--fixed-strings=$STRING' is a substring match. Therefore a '--exact' option is necessary to not always match everything containing the STRING #627

@KuroKensei

Description

@KuroKensei

When using '--fixed-strings=$STRING" fd treats the literal string as a substring.
Please provide a '--exact' or '--line' or '--word' option to actually only match the provided STRING and not more.

Especially for short literal strings this currently heavily pollutes the output up to complete and utter uselessness.
Since the filename contains special characters, it'd be nice to be able to use the '--fixed-strings' option instead of manually having to escape the regex characters in the filename using 'sed'.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions