I have following grep command echo $a | grep -Po '(?<=demo-jms2;)[^;]+'. How I can separate the result of this command with comma?
how about pipe the grep output to tr '\n' ','
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With