I have a file of id\'s that are comma separated. I\'m trying to replace the commas with a new line. I\'ve tried:
sed \'s/,/\\n/g\' file
b
$ echo $PATH | sed -e $'s/:/\\\n/g' /usr/local/sbin /Library/Oracle/instantclient_11_2/sdk /usr/local/bin
...
Works for me on Mojave