💻 Software
Newlines in sed on Mac OS X
Fresh7 days ago
Mar 15, 202666038 viewsConfidence Score1%
1%
Problem
I find that doesn't work in sed under Mac OS X. Specifically, say I want to break the words separated by a single space into lines: I use, But the result is stupid, the is not escaped! After I consulted to google, I found a workaround: After reading the article, I still cannot understand what means. Can some one explain it to me, or if there is any other way to do it? Thanks!
Error Output
# input foo bar
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Newlines in sed on Mac OS X
Low Risk
You can and replace calls to with . To use it as instead of , brew helpfully prints the following instructions after you install: That is, append the following line to your ~/.bashrc or ~/.zshrc:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix