Not able to insert new line using sed in Sun Solaris

view full story

http://www.unix.com – Hi Guys, can any one know how to replace the string by newline using sed ? i dont need any other solution. I am very curious to know this in sed. Code: Input: one,two,three   Output one two three Code: we can acheive this by awk but in sed ?, awk '{gsub(/\,/,"\n");print;}' File In linux, the below code working but in not my solaris system. Code: sed 's/\,/\n/g' File My system is Code: uname -a SunOS cube 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-480R Thanks guys for the help :) Cheers, Ranga:) (HowTos)