Y
Hacker News
new
|
ask
|
show
|
jobs
by
ComputerGuru
2765 days ago
No, like this:
> echo ‘one\ntwo\nthree’ | tr \n \| one|two|three
1 comments
Tepix
2765 days ago
echo -e 'one\ntwo\nthree' | sed -ze 's/\n/|/g'
link
ComputerGuru
2764 days ago
Hey, thanks for teaching me that!
link