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

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

Open
simonlongson opened this issue Apr 26, 2016 · 0 comments
Open

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

simonlongson opened this issue Apr 26, 2016 · 0 comments

Comments

@simonlongson
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant