3 ms·
No, like this: > echo ‘one\ntwo\nthree’ | tr \n \| one|two|three
by ComputerGuru 8y ago
No, like this:
> echo ‘one\ntwo\nthree’ | tr \n \|
one|two|three
- Tepix 8y agoecho -e 'one\ntwo\nthree' | sed -ze 's/\n/|/g'
- ComputerGuru 8y agoHey, thanks for teaching me that!