Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

replace with new line '\r\n' #56

@simonlongson

Description

@simonlongson

Is there a way to replace with special chars rather than string? I did a replace on a list of emails looking something like replace ';' '\r\n' email.txt This did do the replace but replaced it with a visible \r\n rather than a new line. So to reverse it I thought I'd do the reverse replace '\r\n' ';' email.txt but this actually converted all my line breaks into ; instead. I see now that there's a dry run option which I will run next time but is there a way to replace with a line break? Cheers

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