Skip to content

invalid command code T #3367

@vsenn

Description

@vsenn

Please tick this box to confirm you have reviewed the above.

  • I have a different issue.

What version of ripgrep are you using?

ripgrep 15.1.0

How did you install ripgrep?

Homebrew

What operating system are you using ripgrep on?

macOS 26.3.1

Describe your bug.

Unable to replace text in Markdown files with rg '### NIC' --files-with-matches -0 | xargs -0 sed -i 's/### NIC/### DNS/g. Error sed: 1: "File.md": invalid command code T

What are the steps to reproduce the behavior?

rg '### NIC' --files-with-matches -0 | xargs -0 sed -i 's/### NIC/### DNS/g on markdown files

What is the actual behavior?

error

What is the expected behavior?

NIC replaced with DNS

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