Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
ComputerGuru
7y ago
0 comments
Share
No, like this:
> echo ‘one\ntwo\nthree’ | tr \n \| one|two|three
0 comments
default
newest
oldest
Tepix
7y ago
echo -e 'one\ntwo\nthree' | sed -ze 's/\n/|/g'
ComputerGuru
OP
7y ago
Hey, thanks for teaching me that!
j
/
k
navigate · click thread line to collapse