SED add newline on a Mac By LotusshaneyOctober 18, 2013October 23, 2013Tech This is different on a Mac from other Unix systems sed 's/;/\'$'\n/g' This will sub the semicolon for a newline or sed 's/;/\\\n/g'