for example i have:
mond,tue,wed,thurs
mond,tue,wed,thur,
frd,sat,sun
in a file, and i need to make a change so that the above become:
mond
tue
wed
thurs
mond
tue
wed
thur
frd
sat
sun
i used : sed -e 's/,/\\n/g' but that just replaces (,) with \n. please help.thanks all in advance.