Remove newlines and carriage return from a csv file using UNIX

I need to remove new lines and carriage returns from csv file.
Is there anything other than sed and gwak by which we could achieve this ? Any suggestions ?

Why do you "need to give another possible solution"? Is this homework? If yes: post in the appropriate forum and follow the rules.
If it is not, pls. explain what it is needed for and answer the introductory question.

Hello,

search for dos2unix.

Regards

The dos2unix utility (on systems that have it) removes the <carriage-return> from <carriage-return><newline> character pairs.

To remove all <carriage-return> and <newline> characters from a file, you probably want to use tr as in:

tr -d '\r\n' < file

but, of course, the output produced is not a text file since it only contains one (perhaps extremely long) partial line (with no line terminator).